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