Share via


MobileBroadbandNetwork.ShowConnectionUI Method

Definition

Displays the connect UI for a specific mobile network.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 virtual void ShowConnectionUI() = ShowConnectionUI;
void ShowConnectionUI();
public void ShowConnectionUI();
function showConnectionUI()
Public Sub ShowConnectionUI ()

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The ShowConnectionUI method is useful if you determine that connecting to a different network is preferred due to a roaming relationship, pricing changes, and so on. For example, when your app determines that a different network is preferred, you can inform the user of the preferred network. If the user decides to change networks, you can call the ShowConnectionUI for the preferred network to complete the connection.

Applies to