MobileBroadbandAccount MobileBroadbandAccount MobileBroadbandAccount MobileBroadbandAccount Class

Definition

Represents a mobile broadband account and related information about the network provider for the account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : sealed class MobileBroadbandAccount : IMobileBroadbandAccount, IMobileBroadbandAccount2, IMobileBroadbandAccount3public sealed class MobileBroadbandAccount : IMobileBroadbandAccount, IMobileBroadbandAccount2, IMobileBroadbandAccount3Public NotInheritable Class MobileBroadbandAccount Implements IMobileBroadbandAccount, IMobileBroadbandAccount2, IMobileBroadbandAccount3// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

AccountExperienceUrl AccountExperienceUrl AccountExperienceUrl AccountExperienceUrl

Returns the Account Experience URL associated with the Mobile Broadband account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : Uri AccountExperienceUrl { get; }public Uri AccountExperienceUrl { get; }Public ReadOnly Property AccountExperienceUrl As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The URL of the operator’s website used to configure Mobile Broadband.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

An Account Experience URL represents a mobile broadband account and its related information about the network provider. For more information, see Windows Store mobile broadband apps.

AvailableNetworkAccountIds AvailableNetworkAccountIds AvailableNetworkAccountIds AvailableNetworkAccountIds

A list of all network account IDs for the network service provider.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : static IVectorView<string> AvailableNetworkAccountIds { get; }public static IReadOnlyList<string> AvailableNetworkAccountIds { get; }Public Static ReadOnly Property AvailableNetworkAccountIds As IReadOnlyList<string>// You can use this property in JavaScript.
Value
IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>

A list of all network account IDs for the network service provider.

CurrentDeviceInformation CurrentDeviceInformation CurrentDeviceInformation CurrentDeviceInformation

Gets the mobile broadband device information associated with this account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : MobileBroadbandDeviceInformation CurrentDeviceInformation { get; }public MobileBroadbandDeviceInformation CurrentDeviceInformation { get; }Public ReadOnly Property CurrentDeviceInformation As MobileBroadbandDeviceInformation// You can use this property in JavaScript.

CurrentNetwork CurrentNetwork CurrentNetwork CurrentNetwork

Gets the Mobile Broadband network object for this account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : MobileBroadbandNetwork CurrentNetwork { get; }public MobileBroadbandNetwork CurrentNetwork { get; }Public ReadOnly Property CurrentNetwork As MobileBroadbandNetwork// You can use this property in JavaScript.
Value
MobileBroadbandNetwork MobileBroadbandNetwork MobileBroadbandNetwork MobileBroadbandNetwork

The Mobile Broadband network object for this account.

NetworkAccountId NetworkAccountId NetworkAccountId NetworkAccountId

Gets a unique identifier for the mobile broadband account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : PlatForm::String NetworkAccountId { get; }public string NetworkAccountId { get; }Public ReadOnly Property NetworkAccountId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A unique identifier for the mobile broadband account.

Remarks

The network account identifier is supplied by the mobile broadband provider when an account is activated and is stored locally in metadata that describes account information for the mobile broadband device.

The network account identifier for a mobile broadband account matches the value passed to the CreateFromNetworkAccountId method.

ServiceProviderGuid ServiceProviderGuid ServiceProviderGuid ServiceProviderGuid

A unique identifier for the network provider for the mobile broadband account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : PlatForm::Guid ServiceProviderGuid { get; }public Guid ServiceProviderGuid { get; }Public ReadOnly Property ServiceProviderGuid As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

A unique identifier for the network provider for the mobile broadband account.

ServiceProviderName ServiceProviderName ServiceProviderName ServiceProviderName

The name of the network provider for the mobile broadband account.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : PlatForm::String ServiceProviderName { get; }public string ServiceProviderName { get; }Public ReadOnly Property ServiceProviderName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the network provider for the mobile broadband account.

Methods

CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String)

Creates a mobile broadband account for the mobile device associated with the supplied network account ID.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : static MobileBroadbandAccount CreateFromNetworkAccountId(PlatForm::String networkAccountId)public static MobileBroadbandAccount CreateFromNetworkAccountId(String networkAccountId)Public Static Function CreateFromNetworkAccountId(networkAccountId As String) As MobileBroadbandAccount// You can use this method in JavaScript.
Parameters
networkAccountId
PlatForm::String String String String

The network account ID to use to select the corresponding mobile broadband device to use for the account.

Returns

A mobile broadband account for the mobile device associated with the supplied network account ID.

GetConnectionProfiles() GetConnectionProfiles() GetConnectionProfiles() GetConnectionProfiles()

Retrieves an array of ConnectionProfile objects that represent connections associated with the Mobile Broadband account.

public : IVectorView<ConnectionProfile> GetConnectionProfiles()public IReadOnlyList<ConnectionProfile> GetConnectionProfiles()Public Function GetConnectionProfiles() As IReadOnlyList( Of ConnectionProfile )// You can use this method in JavaScript.
Returns
IVectorView<ConnectionProfile> IReadOnlyList<ConnectionProfile> IReadOnlyList<ConnectionProfile> IReadOnlyList<ConnectionProfile>

An array of ConnectionProfile objects.