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.
Members
The Windows.Networking.Connectivity namespace has these types of members:
Classes
The Windows.Networking.Connectivity namespace has these classes.
| Class | Description |
|---|---|
| ConnectionCost | Provides access to property values that indicate the current cost of a network connection. |
| ConnectionProfile | Represents a network connection. |
| DataPlanStatus | Represents the current status information for the data plan associated with a connection. |
| DataPlanUsage | Represents data plan specific data usage information for a connection. |
| DataUsage | Represents data usage information returned by the ConnectionProfile.GetLocalUsage method. |
| IPInformation | Represents the association between an IP address and an adapter on the network. |
| LanIdentifier | Represents physical identification data for a specific NetworkAdapter object. |
| LanIdentifierData | Represents the port specific data that enables LAN locality capabilities. |
| NetworkAdapter | Represents a network adapter. |
| NetworkInformation | Provides access to network connection information for the local machine. |
| NetworkItem | Represents a connected network. |
| NetworkSecuritySettings | Represents the current network security settings. |
| ProxyConfiguration | Represents the proxy configuration for the current user. |
Delegates
The Windows.Networking.Connectivity namespace has these delegates.
| Delegate | Description |
|---|---|
| NetworkStatusChangedEventHandler | Represents the method that handles network status change notifications. This method is called when any properties exposed by the NetworkInformation object changes. |
Enumerations
The Windows.Networking.Connectivity namespace has these enumerations.
| Enumeration | Description |
|---|---|
| NetworkAuthenticationType | Defines values that indicate the type of authentication used by the network. |
| NetworkConnectivityLevel | Defines the level of connectivity currently available. |
| NetworkCostType | Defines the network cost types. |
| NetworkEncryptionType | Defines values that indicate the type of encryption used for authentication. |
| NetworkTypes | Defines the network connection types. |
| RoamingStates | Defines the roaming states. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
- Quickstart: Retrieving network connection information
- Quickstart: Managing connection events and changes in availability
- Quickstart: Managing metered network cost constraints
Build date: 2/25/2013