Share via


NetworkOperatorTetheringManager.IsNoConnectionsTimeoutEnabled Method

Definition

Gets a value indicating whether the NoConnections timeout is enabled. If enabled, tethering turns off automatically in 5 minutes after the last peer of the tethering connection goes away.

public:
 static bool IsNoConnectionsTimeoutEnabled();
 static bool IsNoConnectionsTimeoutEnabled();
public static bool IsNoConnectionsTimeoutEnabled();
function isNoConnectionsTimeoutEnabled()
Public Shared Function IsNoConnectionsTimeoutEnabled () As Boolean

Returns

Boolean

bool

true if the NoConnections timeout is enabled, otherwise false.

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