Windows.Networking.Connectivity 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.


AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage

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

CellularApnContext CellularApnContext CellularApnContext CellularApnContext CellularApnContext

This class contains properties used to specify an Access Point Name (APN) for a 3GPP based cellular Data Connection (PDP context).

ConnectionCost ConnectionCost ConnectionCost ConnectionCost ConnectionCost

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

ConnectionProfile ConnectionProfile ConnectionProfile ConnectionProfile ConnectionProfile

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

ConnectionProfileFilter ConnectionProfileFilter ConnectionProfileFilter ConnectionProfileFilter ConnectionProfileFilter

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

At least one property must be specified, otherwise the object is not used as for filtering.

ConnectionSession ConnectionSession ConnectionSession ConnectionSession ConnectionSession

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

ConnectivityInterval ConnectivityInterval ConnectivityInterval ConnectivityInterval ConnectivityInterval

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

ConnectivityManager ConnectivityManager ConnectivityManager ConnectivityManager ConnectivityManager

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.

DataPlanStatus DataPlanStatus DataPlanStatus DataPlanStatus DataPlanStatus

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

DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage

Represents data plan specific data usage information for a connection.

DataUsage DataUsage DataUsage DataUsage DataUsage


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

Represents data usage information returned by the ConnectionProfile.GetLocalUsage method.

IPInformation IPInformation IPInformation IPInformation IPInformation

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

LanIdentifier LanIdentifier LanIdentifier LanIdentifier LanIdentifier

Represents physical identification data for a specific NetworkAdapter object. For a code example showing how to retrieve data represented by a LanIdentifier object, see How to retrieve network adapter and locality information (XAML).

LanIdentifierData LanIdentifierData LanIdentifierData LanIdentifierData LanIdentifierData

Represents the port specific data that enables LAN locality capabilities.

NetworkAdapter NetworkAdapter NetworkAdapter NetworkAdapter NetworkAdapter

Represents a network adapter.

NetworkInformation NetworkInformation NetworkInformation NetworkInformation NetworkInformation

Provides access to network connection information for the local machine.

NetworkItem NetworkItem NetworkItem NetworkItem NetworkItem

Represents a connected network.

NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings

Represents the current network security settings.

NetworkStateChangeEventDetails NetworkStateChangeEventDetails NetworkStateChangeEventDetails NetworkStateChangeEventDetails NetworkStateChangeEventDetails

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

NetworkUsage NetworkUsage NetworkUsage NetworkUsage NetworkUsage

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

ProviderNetworkUsage ProviderNetworkUsage ProviderNetworkUsage ProviderNetworkUsage ProviderNetworkUsage

Represents provider network usage statistics returned by the ConnectionProfile.@Windows.Networking.Connectivity.ConnectionProfile.GetProviderNetworkUsageAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.NetworkUsageStates)?text=GetProviderNetworkUsageAsync method.

ProxyConfiguration ProxyConfiguration ProxyConfiguration ProxyConfiguration ProxyConfiguration

Represents the proxy configuration for the current user.


This class is not supported on Windows Phone.

RoutePolicy RoutePolicy RoutePolicy RoutePolicy RoutePolicy

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

WlanConnectionProfileDetails WlanConnectionProfileDetails WlanConnectionProfileDetails WlanConnectionProfileDetails WlanConnectionProfileDetails

Used to access information specific to a WLAN connection.

WwanConnectionProfileDetails WwanConnectionProfileDetails WwanConnectionProfileDetails WwanConnectionProfileDetails WwanConnectionProfileDetails

Used to access information specific to a WWAN connection.


NetworkUsageStates NetworkUsageStates NetworkUsageStates NetworkUsageStates NetworkUsageStates

Defines the desired state of the connection profile for which usage data is returned by the method GetNetworkUsageAsync.


CellularApnAuthenticationType CellularApnAuthenticationType CellularApnAuthenticationType CellularApnAuthenticationType CellularApnAuthenticationType

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

ConnectionProfileDeleteStatus ConnectionProfileDeleteStatus ConnectionProfileDeleteStatus ConnectionProfileDeleteStatus ConnectionProfileDeleteStatus

Defines values that indicate the result of an attempt to delete a connection profile.

DataUsageGranularity DataUsageGranularity DataUsageGranularity DataUsageGranularity DataUsageGranularity

Defines levels of granularity used when retrieving data usage statistics with GetNetworkUsageAsync.

DomainConnectivityLevel DomainConnectivityLevel DomainConnectivityLevel DomainConnectivityLevel DomainConnectivityLevel

Defines the domain authentication status for a network connection.

NetworkAuthenticationType NetworkAuthenticationType NetworkAuthenticationType NetworkAuthenticationType NetworkAuthenticationType

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

NetworkConnectivityLevel NetworkConnectivityLevel NetworkConnectivityLevel NetworkConnectivityLevel NetworkConnectivityLevel

Defines the level of connectivity currently available.

NetworkCostType NetworkCostType NetworkCostType NetworkCostType NetworkCostType

Defines the network cost types.

NetworkEncryptionType NetworkEncryptionType NetworkEncryptionType NetworkEncryptionType NetworkEncryptionType

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

NetworkTypes NetworkTypes NetworkTypes NetworkTypes NetworkTypes

Defines the network connection types.

RoamingStates RoamingStates RoamingStates RoamingStates RoamingStates

Defines the roaming states.

TriStates TriStates TriStates TriStates TriStates

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

WwanDataClass WwanDataClass WwanDataClass WwanDataClass WwanDataClass

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

WwanNetworkIPKind WwanNetworkIPKind WwanNetworkIPKind WwanNetworkIPKind WwanNetworkIPKind

Defines constants that describe a level of supported IP. The values reflect the WWAN_IP_TYPE enumeration. You can use these values to determine which cellular profile to use (for example, to choose between IMS and SUPL).

WwanNetworkRegistrationState WwanNetworkRegistrationState WwanNetworkRegistrationState WwanNetworkRegistrationState WwanNetworkRegistrationState

Defines the network registration states for a WWAN connection.


NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler

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.

See also