TwclMobileHotspot.EnableNoConnectionsTimeout Method

Enables the NoConnections timeout. This means that Mobile Hotspot turns off automatically in 5 minutes after the last peer of the tethering connection goes away.

Namespace: wclWiFi
public
 function EnableNoConnectionsTimeout: Integer;

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.