CellularApnContext class

Applies to Windows and Windows Phone

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.

Syntax


var cellularApnContext = new Windows.Networking.Connectivity.CellularApnContext();

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The CellularApnContext class has these types of members:

Constructors

The CellularApnContext class has these constructors.

ConstructorDescription
CellularApnContext Creates an instance of CellularApnContext.

 

Methods

The CellularApnContext class inherits methods from the Object class (C#/VB/C++).

Properties

The CellularApnContext class has these properties.

PropertyAccess typeDescription

AccessPointName

Read/writeIndicates the name of the access point to establish a connection with.

AuthenticationType

Read/writeIndicates the authentication method, as defined by CellularApnAuthenticationType, that is used by the access point.

IsCompressionEnabled

Read/writeIndicates if data compression will be used at the data link for header and data transfer.

Password

Read/writeIndicates the password used to authenticate when connecting to the access point.

ProviderId

Read/writeIndicates the provider ID associated with the access point.

UserName

Read/writeIndicates the user name used to authenticate when connecting to the access point.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft