Cellular​Apn​Context Cellular​Apn​Context Cellular​Apn​Context Class

Definition

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.

public sealed class CellularApnContext : ICellularApnContextpublic sealed class CellularApnContext : ICellularApnContextPublic NotInheritable Class CellularApnContext Implements ICellularApnContext
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

CellularApnContext() CellularApnContext() CellularApnContext()

Creates an instance of CellularApnContext.

public CellularApnContext()public CellularApnContext()Public Sub New()
Attributes

Properties

AccessPointName AccessPointName AccessPointName

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

public PlatForm::String AccessPointName { get; set; }public string AccessPointName { get; set; }Public ReadWrite Property AccessPointName As string
Value
string string string

The access point name.

Attributes

AuthenticationType AuthenticationType AuthenticationType

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

public CellularApnAuthenticationType AuthenticationType { get; set; }public CellularApnAuthenticationType AuthenticationType { get; set; }Public ReadWrite Property AuthenticationType As CellularApnAuthenticationType
Attributes

Remarks

This property can have one of the following values:

ValueDescription
NONENo authentication protocol.
PAPUnencrypted password authentication.
CHAPChallenge Handshake Authentication Protocol(CHAP).
MsCHAPv2Use Microsoft’s Challenge Handshake Authentication Protocol(CHAP) v2.0.

IsCompressionEnabled IsCompressionEnabled IsCompressionEnabled

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

public PlatForm::Boolean IsCompressionEnabled { get; set; }public bool IsCompressionEnabled { get; set; }Public ReadWrite Property IsCompressionEnabled As bool
Value
bool bool bool

A Boolean value. TRUE if enabled; otherwise FALSE.

Attributes

Password Password Password

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

public PlatForm::String Password { get; set; }public string Password { get; set; }Public ReadWrite Property Password As string
Value
string string string

The password associated with the user name.

Attributes

ProviderId ProviderId ProviderId

Indicates the provider ID associated with the access point.

public PlatForm::String ProviderId { get; set; }public string ProviderId { get; set; }Public ReadWrite Property ProviderId As string
Value
string string string

The provider ID.

Attributes

UserName UserName UserName

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

public PlatForm::String UserName { get; set; }public string UserName { get; set; }Public ReadWrite Property UserName As string
Value
string string string

The user name.

Attributes