MobileBroadbandAccount Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a mobile broadband account and related information about the network provider for the account.
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 ref class MobileBroadbandAccount sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MobileBroadbandAccount final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MobileBroadbandAccount
Public NotInheritable Class MobileBroadbandAccount
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1703 | 15063 | AccountExperienceUrl |
Properties
AccountExperienceUrl |
Returns the Account Experience URL associated with the Mobile Broadband account. 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. |
AvailableNetworkAccountIds |
A list of all network account IDs for the network service provider. Note This functionality is available only to mobile operator apps, and apps given privileged access by mobile network operators. If you want to use this API, and publish your app to the Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic. |
CurrentDeviceInformation |
Gets the mobile broadband device information associated with this account. 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. |
CurrentNetwork |
Gets the Mobile Broadband network object for this account. 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. |
NetworkAccountId |
Gets a unique identifier for the mobile broadband account. 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. |
ServiceProviderGuid |
A unique identifier for the network provider for the mobile broadband account. 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. |
ServiceProviderName |
The name of the network provider for the mobile broadband account. 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. |
Methods
CreateFromNetworkAccountId(String) |
Creates a mobile broadband account for the mobile device associated with the supplied network account ID. 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. |
GetConnectionProfiles() |
Retrieves an array of ConnectionProfile objects that represent connections associated with the Mobile Broadband account. |