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

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

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...