Table of contents
Collapse the table of content
Expand the table of content

Get information about the currently registered network

Last Updated: 1/24/2017

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

Common tasks for mobile broadband Windows Runtime APIs

Send comments about this topic to Microsoft

© 2017 Microsoft