How to determine the network connection in Windows Phone 7? Is there a simple API for this?
I found: -P
System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable( );
System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable(
Thanks guys, you pointed me in the right direction.
Try the NetworkChange.NetworkAddressChange event in the System.Net.NetworkInformation namesapce.
Checkout this blog for implementation details.
It is available in the System.Net.NetworkInformation.NetworkInterface class as shown below http://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterface.aspx
Consider using NetworkInformation.DeviceNetworkInformation.IsNetworkAvailable
NetworkInformation.DeviceNetworkInformation.IsNetworkAvailable
in Microsoft.Phone.Net namespace
Microsoft.Phone.Net namespace