libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_get_udid()

idevice_error_t idevice_get_udid ( idevice_t  device,
char **  udid 
)

Gets the Unique Device ID for the device.

Parameters
deviceThe device to get the Unique Device ID for.
udidPointer that will be set to an allocated buffer with the device UDID. The consumer is responsible for releasing the allocated memory.
Returns
IDEVICE_E_SUCCESS on success, otherwise an error code.