CellularApnContext CellularApnContext CellularApnContext CellularApnContext CellularApnContext Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
This class contains properties used to specify an Access Point Name (APN) for a 3GPP based cellular Data Connection (PDP context).

public : sealed class CellularApnContext : ICellularApnContext
struct winrt::Windows::Networking::Connectivity::CellularApnContext : ICellularApnContext
public sealed class CellularApnContext : ICellularApnContext
Public NotInheritable Class CellularApnContext Implements ICellularApnContext
var cellularApnContext = new cellularApnContext();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

A CellularApnContext object is passed with a ConnectivityManager.AcquireConnectionAsync call to establish a connection to a specific access point.

Constructors

CellularApnContext() CellularApnContext() CellularApnContext() CellularApnContext() CellularApnContext()

Creates an instance of CellularApnContext.

Properties

AccessPointName AccessPointName AccessPointName AccessPointName AccessPointName

Indicates the name of the access point to establish a connection with.

AuthenticationType AuthenticationType AuthenticationType AuthenticationType AuthenticationType

Indicates the authentication method, as defined by CellularApnAuthenticationType, that is used by the access point.

IsCompressionEnabled IsCompressionEnabled IsCompressionEnabled IsCompressionEnabled IsCompressionEnabled

Indicates if data compression will be used at the data link for header and data transfer.

Password Password Password Password Password

Indicates the password used to authenticate when connecting to the access point.

ProfileName ProfileName ProfileName ProfileName ProfileName

Prerelease. Gets the name of a cellular profile.

ProviderId ProviderId ProviderId ProviderId ProviderId

Indicates the provider ID associated with the access point.

UserName UserName UserName UserName UserName

Indicates the user name used to authenticate when connecting to the access point.

See Also