CellularApnContext CellularApnContext CellularApnContext CellularApnContext CellularApnContext Class


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
struct winrt::Windows::Networking::Connectivity::CellularApnContext
public sealed class CellularApnContext
Public NotInheritable Class CellularApnContext
var cellularApnContext = new cellularApnContext();

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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

Version history

Windows version SDK version Value added
1803 17134 ProfileName


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

Creates an instance of CellularApnContext.


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

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