CM.Client.get_device_id

### Method

# CM Clientget_device_id

#### Declaration [src]

    const char*
    cm_client_get_device_id (
      CmClient* self
    )

#### Description [src]

Get the device ID of the client `self`. Device ID may be available only after at least a single successful login.

#### Return value

Type: `const char*`

The Device ID string.

The returned data is owned by the instance.
The return value can be `NULL`.
The value is a NUL terminated UTF-8 string.