TwclMobileHotspot.IsNoConnectionsTimeoutEnabled(Boolean) Method

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

Namespace: wclWiFi
public
 function IsNoConnectionsTimeoutEnabled(out Enabled: Boolean): Integer;

Parameters

Enabled
Type: Boolean

If the method completed with success on output contains a Boolean indicates current NoConnectionTimeout state. True if the NoConnections timeout is enabled, otherwise False.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

This feature is supported on Windows 10 2004 abd above.