How can I detect the status of wifi, cellular and bluetooth in my program? I know that I can check network availability with NetworkInterface. But how can I check for each kind?
When I am in wifi mode I still want to know if cellular network is available…
Add a reference to Microsoft.Phone (if it’s not already added by default), then refer to Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation, which will tell you about the status of Bluetooth, Cellular connectivity, WiFi, and the name of the mobile operator.