Share via


UssdSession.CreateFromNetworkInterfaceId(String) Method

Definition

Creates a USSD session for the mobile device associated with the supplied network interface ID.

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:
 static UssdSession ^ CreateFromNetworkInterfaceId(Platform::String ^ networkInterfaceId);
 static UssdSession CreateFromNetworkInterfaceId(winrt::hstring const& networkInterfaceId);
public static UssdSession CreateFromNetworkInterfaceId(string networkInterfaceId);
function createFromNetworkInterfaceId(networkInterfaceId)
Public Shared Function CreateFromNetworkInterfaceId (networkInterfaceId As String) As UssdSession

Parameters

networkInterfaceId
String

Platform::String

winrt::hstring

The network interface ID to use to select the corresponding mobile broadband device to use for the USSD session.

Returns

The USSD session for the mobile device associated with the supplied network interface ID.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to