Share via


SmsDevice2.DeviceId Property

Definition

The device ID of the device represented by this instance.

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

Property Value

String

Platform::String

winrt::hstring

String representation of the device ID.

Windows requirements

App capabilities
cellularMessaging sms

Applies to