NetworkOperatorTetheringManager.EnableNoConnectionsTimeout 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.
Enables the NoConnections timeout. This means that tethering turns off automatically in 5 minutes after the last peer of the tethering connection goes away.
public:
static void EnableNoConnectionsTimeout();
static void EnableNoConnectionsTimeout();
public static void EnableNoConnectionsTimeout();
function enableNoConnectionsTimeout()
Public Shared Sub EnableNoConnectionsTimeout ()
Windows requirements
Device family |
Windows 10, version 2004 (introduced in 10.0.19041.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v10.0)
|
App capabilities |
wiFiControl
|