Windows.Networking.Connectivity Windows.Networking.Connectivity Windows.Networking.Connectivity Windows.Networking.Connectivity Namespace

Retrieves connection profiles that provide connectivity, usage, and data plan information for established network connections. This data can be used by a connected application to take appropriate action when operating in challenging network scenarios or abiding by data plan limits set by a network provider.


Provides access to property values containing information on current usage of the attributed network connection.

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(CellularApnContext) call to establish a connection to a specific access point.

Provides access to property values that indicate the current cost of a network connection.

Represents a network connection, which includes either the currently connected network or prior network connections. Provides information about the connection status and connectivity statistics.

The ConnectionProfileFilter class defines a set of properties that are used to improve the relevance of FindConnectionProfilesAsync(ConnectionProfileFilter) results.

If at least one property is not specified, it is considered a "no-op" and will not be used as for filtering.

The ConnectionSession class is used to represent a connection to an access point established with AcquireConnectionAsync(CellularApnContext).

Provides the start time and duration for an established or prior connection.

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(RoutePolicy), traffic that matches the policy will either be routed or dropped.

Represents the current status information for the data plan associated with a connection.

Represents data plan specific data usage information for a connection.


DataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use NetworkUsage

Represents data usage information returned by the GetLocalUsage(DateTime, DateTime) method.

Represents the association between an IP address and an adapter on the network.

Represents physical identification data for a specific NetworkAdapter object.

Represents the port specific data that enables LAN locality capabilities.

Represents a network adapter.

Provides access to network connection information for the local machine.

Represents a connected network.

Represents the current network security settings.

Indicates which properties of a network have changed after a network state change background trigger.

Represents network usage statistics returned by the @Windows.Networking.Connectivity.ConnectionProfile.@Windows.Networking.Connectivity.ConnectionProfile.GetNetworkUsageAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.DataUsageGranularity,Windows.Networking.Connectivity.NetworkUsageStates) method.

Represents the proxy configuration for the current user.


This class is not supported on Windows Phone.

The RoutePolicy class is used to represent the traffic routing policy for a special PDP Context/APN.

Used to access information specific to a WLAN connection.

Used to access information specific to a WWAN connection.


Defines the desired state of the connection profile for which usage data is returned by the method GetNetworkUsageAsync(DateTime, DateTime, DataUsageGranularity, NetworkUsageStates).


Defines values that indicate the authentication type used for a APN. These values are referenced when providing APN details using a CellularApnContext object.

Defines levels of granularity used when retrieving data usage statistics with GetNetworkUsageAsync(DateTime, DateTime, DataUsageGranularity, NetworkUsageStates).

Defines the domain authentication status for a network connection.

Defines values that indicate the type of authentication used by the network.

Defines the level of connectivity currently available.

Defines the network cost types.

Defines values that indicate the type of encryption used for authentication.

Defines the network connection types.

Defines the roaming states.

Used with the NetworkUsageStates structure to define the desired roaming state and shared state of a network connection.

Defines values used to indicate the class of data service provided by a WWAN network connection.

Defines the network registration states for a WWAN connection.


Represents the method that handles network status change notifications. This method is called when any properties exposed by the NetworkInformation object changes while the app is active.