NetworkOperatorTetheringManager.GetTetheringCapability(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.