MobileBroadbandAccount.NetworkAccountId 屬性

定義

取得行動寬頻帳戶的唯一識別碼。

注意

這項功能僅適用于行動電信業者提供特殊許可權存取權的電信業者應用程式和 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則需要特殊核准。 如需詳細資訊,請參閱應用程式功能宣告主題中的受限制功能一節。

public:
 property Platform::String ^ NetworkAccountId { Platform::String ^ get(); };
winrt::hstring NetworkAccountId();
public string NetworkAccountId { get; }
var string = mobileBroadbandAccount.networkAccountId;
Public ReadOnly Property NetworkAccountId As String

屬性值

String

Platform::String

winrt::hstring

行動寬頻帳戶的唯一識別碼。

Windows 需求

應用程式功能
cellularDeviceControl cellularDeviceIdentity

備註

當帳戶啟動時,網路帳戶識別碼是由行動寬頻提供者提供,並且儲存在本機的中繼資料中,以描述行動寬頻裝置的帳戶資訊。

行動寬頻帳戶的網路帳戶識別碼符合傳遞給 CreateFromNetworkAccountId 方法的值。

適用於