Get information about the currently registered network

Updated: August 27, 2013

Applies To: Windows 8, Windows 8.1

You can get the data class, service provider ID and name of the network that the mobile broadband device is currently registered to. To do this, use the RegisteredDataClass, RegisteredProviderId, and RegisteredProviderName properties of the current network object for the account.

For example:

var myNetwork = myNetworkAccountObject.currentNetwork
if (myNetwork != null && myNetwork.registeredDataClass == DataClasses.LteAdvanced)
  // user is connected to an LTE network

See Also