wclMobileHotspotIsNoConnectionsTimeoutEnabled 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: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int IsNoConnectionsTimeoutEnabled(
out bool Enabled
)
Public Function IsNoConnectionsTimeoutEnabled (
<OutAttribute> ByRef Enabled As Boolean
) As Integer
public:
int IsNoConnectionsTimeoutEnabled(
[OutAttribute] bool% Enabled
)
Parameters
- Enabled 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
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks This feature is supported on Windows 10 2004 abd
above.
See Also