DeviceNetworkInformation.CellularMobileOperator Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the name of the currently registered or connected mobile operator.

Namespace: Microsoft.Phone.Net.NetworkInformation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)


Public Shared ReadOnly Property CellularMobileOperator As String
public static string CellularMobileOperator { get; }

Property Value

Type: System..::.String
The name of the currently registered or connected mobile operator, or a nullNothingnullptra null reference (Nothing in Visual Basic) string.


The name is a Unicode string that uses UTF-8 encoding.


The following example demonstrates getting the value of the CellularMobileOperator property and displaying it in a message box. In this example, you put the code in a button click event for testing purposes only. In your own applications, you can access the CellularMobileOperator property wherever you need it.

This example assumes that you have a Windows Phone application with a button named button1. This example also assumes that you have added the following statement to your code window.

using Microsoft.Phone.Net.NetworkInformation;
Imports Microsoft.Phone.Net.NetworkInformation
private void button1_Click(object sender, RoutedEventArgs e)
    System.Text.StringBuilder sb = new System.Text.StringBuilder();

    sb.Append("Mobile operator:  ");

Private Sub Button1_Click(sender As System.Object , e As System.Windows.RoutedEventArgs) Handles Button1.Click

    Dim sb As new System.Text.StringBuilder()

    sb.Append("Mobile operator:  ")

End Sub

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


DeviceNetworkInformation Class

Microsoft.Phone.Net.NetworkInformation Namespace