dup_device_identifier


Description:

[ Version ( since = "1.0" ) ]
public string dup_device_identifier ()

Gets a copy of a best-effort device identifier based on various device information like model name, firmware revision, USB/PCI/PCMCIA IDs, and other properties.

This ID is not guaranteed to be unique and may be shared between identical devices with the same firmware, but is intended to be "unique enough" for use as a casual device identifier for various user experience operations.

This is not the device's IMEI or ESN since those may not be available before unlocking the device via a PIN.

Parameters:

this

A Modem.

Returns:

The device identifier, or null if none available. The returned value should be freed with g_free .




2022 vala-language.org