How to Programmatically Get the Cellular Mobile Operator in Window Phone?

There are times when you want to retrieve the Cellular Mobile Operator of the Phone from your App. The Windows Phone 8 SDK provides an easier way to access it with the Static CellularMobileOperator property defined in the DeviceNetworkInformation class.

How to Programmatically Get the Cellular Mobile Operator in Window Phone?

Here’s a simple example of how to use the CellularMobileOperator property and the DeviceNetworkInformation class to retrieve the Mobile Operator.

var CellularNetwork = DeviceNetworkInformation.CellularMobileOperator;

MessageBox.Show(CellularNetwork);
How to Programmatically Get the Cellular Mobile Operator in Window Phone?
How to Programmatically Get the Cellular Mobile Operator in Window Phone?

The above example was tried on the actual windows phone device running on Vodafone India Network. If the same code is run on the Windows Phone emulator, one will receive “Fake GSM Network”…

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...