This class contains properties used to specify an Access Point Name (APN) for a 3GPP based cellular Data Connection (PDP context). A CellularApnContext object is passed with a AcquireConnectionAsync call to establish a connection to a specific access point.
var cellularApnContext = new Windows.Networking.Connectivity.CellularApnContext();
public sealed class CellularApnContext
Public NotInheritable Class CellularApnContext
public ref class CellularApnContext sealed
- [ DualApiPartition()]
- [ MarshalingBehavior(Agile)]
- [ Version(0x06030000)]
The CellularApnContext class has these types of members:
The CellularApnContext class has these constructors.
|CellularApnContext||Creates an instance of CellularApnContext.|
The CellularApnContext class inherits methods from the Object class (C#/VB/C++).
The CellularApnContext class has these properties.
|Read/write||Indicates the name of the access point to establish a connection with.|
|Read/write||Indicates the authentication method, as defined by CellularApnAuthenticationType, that is used by the access point.|
|Read/write||Indicates if data compression will be used at the data link for header and data transfer.|
|Read/write||Indicates the password used to authenticate when connecting to the access point.|
|Read/write||Indicates the provider ID associated with the access point.|
|Read/write||Indicates the user name used to authenticate when connecting to the access point.|
Minimum supported client
|Windows 8.1 [Windows Store apps, desktop apps]|
Minimum supported server
|Windows Server 2012 R2 [Windows Store apps, desktop apps]|