Network and network interface information for Windows Phone 8
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The end-user experience of any web-based application is highly dependent on the quality and availability of the device’s network connection. The Microsoft.Phone.Net.NetworkInformation namespace provides several classes that allow your application to learn more about the network status of the device it is running on. For example, your application can check if a cellular-data or Wi-Fi connection is enabled. You can also use the API to set cellular or non-cellular network preferences.