Windows.Networking.Connectivity
Windows.Networking.Connectivity
Windows.Networking.Connectivity
Windows.Networking.Connectivity
Namespace
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[This namespace contains one or more prerelease APIs.]
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.
Classes
| AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage |
Provides access to property values containing information on current usage of the attributed network connection. |
| 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). A CellularApnContext object is passed with a AcquireConnectionAsync call to establish a connection to a specific access point. |
| ConnectionCost ConnectionCost ConnectionCost ConnectionCost |
Provides access to property values that indicate the current cost of a network connection. |
| ConnectionProfile ConnectionProfile ConnectionProfile ConnectionProfile |
[Contains prerelease APIs.] |
| ConnectionProfileFilter ConnectionProfileFilter ConnectionProfileFilter ConnectionProfileFilter |
The ConnectionProfileFilter class defines a set of properties that are used to improve the relevance of FindConnectionProfilesAsync results. If at least one property is not specified, it is considered a "no-op" and will not be used as for filtering. |
| ConnectionSession ConnectionSession ConnectionSession ConnectionSession |
The ConnectionSession class is used to represent a connection to an access point established with AcquireConnectionAsync. |
| ConnectivityInterval ConnectivityInterval ConnectivityInterval ConnectivityInterval |
Provides the start time and duration for an established or prior connection. |
| 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 |
Represents the current status information for the data plan associated with a connection. |
| DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage |
Represents data plan specific data usage information for a connection. |
| DataUsage DataUsage DataUsage DataUsage |
NoteDataUsage 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 |
Represents the association between an IP address and an adapter on the network. |
| 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 |
Represents the port specific data that enables LAN locality capabilities. |
| NetworkAdapter NetworkAdapter NetworkAdapter NetworkAdapter |
Represents a network adapter. |
| NetworkInformation NetworkInformation NetworkInformation NetworkInformation |
Provides access to network connection information for the local machine. |
| NetworkItem NetworkItem NetworkItem NetworkItem |
Represents a connected network. |
| NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings |
Represents the current network security settings. |
| NetworkStateChangeEventDetails NetworkStateChangeEventDetails NetworkStateChangeEventDetails NetworkStateChangeEventDetails |
Indicates which properties of a network have changed after a network state change background trigger. |
| 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 |
[Contains prerelease APIs.] |
| ProxyConfiguration ProxyConfiguration ProxyConfiguration ProxyConfiguration |
Represents the proxy configuration for the current user. NoteThis class is not supported on Windows Phone. |
| 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 |
Used to access information specific to a WLAN connection. |
| WwanConnectionProfileDetails WwanConnectionProfileDetails WwanConnectionProfileDetails WwanConnectionProfileDetails |
Used to access information specific to a WWAN connection. |
Structs
| NetworkUsageStates NetworkUsageStates NetworkUsageStates NetworkUsageStates |
Defines the desired state of the connection profile for which usage data is returned by the method GetNetworkUsageAsync. |
Enums
Delegates
| 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. |