Share via


ISmsMessageBase.DeviceId Property

Definition

Gets the unique device identifier associated with this message.

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

Property Value

String

Platform::String

winrt::hstring

The device identifier, as a string.

Windows requirements

App capabilities
cellularMessaging sms

Applies to