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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for