Share via


SpiDevice.DeviceId Property

Definition

Gets the unique ID associated with the device.

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = spiDevice.deviceId;
Public ReadOnly Property DeviceId As String

Property Value

String

Platform::String

winrt::hstring

The ID.

Windows requirements

App capabilities
lowLevel

Applies to