UssdSession UssdSession UssdSession UssdSession UssdSession Class

Definition

Represents a session of the USSD network protocol.

Important

UssdSession is applicable to Windows 10 for desktop form factors (MBIM-based modems), but not to Windows 10 Mobile (RIL-based modems).

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : sealed class UssdSession
struct winrt::Windows::Networking::NetworkOperators::UssdSession
public sealed class UssdSession
Public NotInheritable Class UssdSession
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularDeviceControl cellularDeviceIdentity

Methods

Close() Close() Close() Close() Close()

Closes the USSD session with the network.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String) CreateFromNetworkAccountId(String)

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

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

CreateFromNetworkInterfaceId(String) CreateFromNetworkInterfaceId(String) CreateFromNetworkInterfaceId(String) CreateFromNetworkInterfaceId(String) CreateFromNetworkInterfaceId(String)

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

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

SendMessageAndGetReplyAsync(UssdMessage) SendMessageAndGetReplyAsync(UssdMessage) SendMessageAndGetReplyAsync(UssdMessage) SendMessageAndGetReplyAsync(UssdMessage) SendMessageAndGetReplyAsync(UssdMessage)

Sends a message to a USSD session and returns a handler to retrieve the reply asynchronously.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.