Connection state and cost management (Windows Store apps using C#/VB/C++ and XAML)

Language: JavaScript and HTML | VB/C#/C++ and XAML
This topic has not yet been rated - Rate this topic

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. For additional code examples, download the Network Information sample.

In This Section

TopicDescription
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 retreive LAN Identifier data

Retrieve and display connection usage information for a specific period of time.

How to retrieve connection usage data for a specific period of time

Enumerate LAN identifiers and retrieve location information for network adapters supporting established connections.

 

Related topics

Network Information Sample
Windows.Networking.Connectivity
Roadmap for creating apps using C#, C++, or VB

 

 

Build date: 3/11/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.