Dela via


MobileBroadbandNetworkRegistrationStateChange.DeviceId Property

Definition

Gets the unique identifier of the device associated with a network registration state change.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

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

Property Value

String

Platform::String

winrt::hstring

Unique identifier of the device associated with a network registration state change notification.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to