How to find the Mobile Operator in Windows Phone using C# ?

If you want to know the Mobile Operator of your Windows Phone in your App , you can retreive the Mobile Operator by using the static CellularMobileOperator property of the DeviceNetworkInformation class

Just include the Namespace Microsoft.Phone.Net.NetworkInformation and add the below code

private void button1_Click_1(object sender, RoutedEventArgs e)
{
string MobileOperator = "Mobile Operator : " + DeviceNetworkInformation.CellularMobileOperator;
MessageBox.Show(MobileOperator);
}

Run the Windows Phone Application and you will see the Mobile Operator 🙂

How to find the Mobile Operator in Windows Phone using C# ?
How to find the Mobile Operator in Windows Phone using C# ?

 

Leave A Reply

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

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...