Share via


NetworkOperatorTetheringManager.EnableNoConnectionsTimeout Method

Definition

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

Applies to