Reader Level:

Fetching Mobile Operator Name in Windows 7.1 Phone [Mango]

By Dhananjay Kumar on Jun 10, 2011
Here you will see how to fetch the mobile operator's name in Windows 7.1 Phone.
  • 0
  • 0
  • 4736

In this quick post I will show you

how to fetch the mobile operator's name in Windows 7.1 Phone.

Design the page

In the content Grid, I have put a button. On the click event of the button, in a message box the Mobile Operator Name we will be displayed:


Write Code Behind

Add the namespace:


On the click event of the button we will fetch the operator name. Operator name can be fetched by:


Using the CellularMobileOperator() function of DeviceNetworkInformation. After fetching, you can convert it to a string.

For your reference the source code is as below:


using System.Windows;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Net.NetworkInformation;
namespace MobileOperatorName
    public partial class MainPage : PhoneApplicationPage
        public MainPage()
            btnMobileOpeartor.Click += new RoutedEventHandler(btnMobileOpeartor_Click);
        void btnMobileOpeartor_Click(object sender, RoutedEventArgs e)
            string operatorName = "Mobile Opeartor : ";
            operatorName = operatorName + DeviceNetworkInformation.CellularMobileOperator.ToString();

Running the Application

Press F5 to run the application.


I hope this post was useful. Thanks for reading.

Dhananjay Kumar

Dhananjay kumar is an independent trainer, a consultant and a programmer from India. He has mentored more than 1000 professionals and known for his unique way of teaching. He has been part of the multiple projects for bi... Read more

Personal Blog:

Trending up