When developing a Windows Store app that addresses any network-based usage scenario, it is critical for app behavior to demonstrate an awareness of network availability, which networks are preferred in the current environment, and any costs associated with use. The Windows Runtime provides a set of APIs that allow an app to leverage this kind of network connectivity information so that it can take appropriate action when operating in challenging network scenarios or abiding by data plan limits specified for metered networks.
The topics in this section demonstrate how to access connectivity information and react in network state change and metered network scenarios. For additional code examples, download the Network Information sample.
|Quickstart: Retrieving network connection information||
Retrieve and display network connectivity and cost information for a connection.
|Quickstart: Managing connection events and changes in availability||
Register for connection state change event notifications and provides app behavior recommendations for enabling your app to use this information.
|Quickstart: Managing metered network cost constraints||
Maintain awareness of network connection cost or data plan status changes and enable your app to use this information to avoid incurring additional costs for roaming or exceeding a specified data transfer limit.
|How to retrieve connection usage information for a specific time period||
Retrieve and display connection usage information for a specific period of time.
|How to retrieve network adapter and locality information||
Enumerate LAN identifiers and retrieve location information for network adapters supporting established connections.