Share via


NetworkOperatorTetheringManager.GetTetheringCapability(String) Method

Definition

Indicates if a device is capable of creating a tethering network. Possible values are defined by TetheringCapability.

public:
 static TetheringCapability GetTetheringCapability(Platform::String ^ networkAccountId);
 static TetheringCapability GetTetheringCapability(winrt::hstring const& networkAccountId);
public static TetheringCapability GetTetheringCapability(string networkAccountId);
function getTetheringCapability(networkAccountId)
Public Shared Function GetTetheringCapability (networkAccountId As String) As TetheringCapability

Parameters

networkAccountId
String

Platform::String

winrt::hstring

The network account ID.

Returns

The tethering capabilities of a network account.

Windows requirements

App capabilities
wiFiControl

Remarks

Always call GetTetheringCapability prior to the creation of the tethering network using CreateFromNetworkAccountId to first confirm that the system is capable of creating a tethering network.

Applies to