Fwupd.Device.get_id

### Method

# Fwupd Deviceget_id

since: 0.9.3

#### Declaration [src]

    const gchar*
    fwupd_device_get_id (
      FwupdDevice* self
    )

#### Description [src]

Gets the ID.

Available since: 0.9.3

Gets property | `Fwupd.Device:id`

#### Return value

Type: `const gchar*`

The ID, or `NULL` if unset.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.