Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConnectivityManager class

Applies to Windows and Windows Phone

Methods defined by the ConnectivityManager class enable enforcement of traffic routing on a specific network adapter for the specified destination suffix. Once a policy is set using AddHttpRoutePolicy, traffic that matches the policy will either be routed or dropped.

Syntax


Public NotInheritable Class ConnectivityManager

Attributes

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

Members

The ConnectivityManager class has these types of members:

Methods

The ConnectivityManager class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
AcquireConnectionAsync Establishes a connection to a specific access point on a network. The request is defined using a CellularApnContext object.
AddHttpRoutePolicy Specifies a RoutePolicy that the Http stack (WinInet) will follow when routing traffic.
RemoveHttpRoutePolicy Removes a previously specified RoutePolicy from the Http stack (WinInet).

 

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