EasClientDeviceInformation.Id Property

Definition

Returns the identifier of the local device.

public:
 property Platform::Guid Id { Platform::Guid get(); };
winrt::guid Id();
public Guid Id { get; }
var guid = easClientDeviceInformation.id;
Public ReadOnly Property Id As Guid

Property Value

Guid

Platform::Guid

winrt::guid

The identifier of the local device. The value range is 16 bytes.

Remarks

UWP apps only. The Id property represents the DeviceId using the GUID truncated from the first 16 bytes of the SHA256 hash of the MachineID, User SID, and Package Family Name where the MachineID uses the SID of the local users group. Each component of the GUID is returned in network byte order.

Applies to