Dela via


MobileBroadbandCellNR.ProviderId Property

Definition

Gets the provider ID (a concatenation of MCC and MNC).

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 ^ ProviderId { Platform::String ^ get(); };
winrt::hstring ProviderId();
public string ProviderId { get; }
var string = mobileBroadbandCellNR.providerId;
Public ReadOnly Property ProviderId As String

Property Value

String

Platform::String

winrt::hstring

The provider ID (a concatenation of MCC and MNC).

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to