CellularApnContext class

CellularApnContext class

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


public ref class CellularApnContext sealed 

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/write

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

AuthenticationType

Read/write

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

IsCompressionEnabled

Read/write

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

Password

Read/write

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

ProviderId

Read/write

Indicates the provider ID associated with the access point.

UserName

Read/write

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object

 

 

Show:
© 2016 Microsoft