TwclWiFiHostedNetwork.GetState(Boolean) Method

Reads the wireless Hosted Network enabled flag.

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

Parameters

Enabled
Type: Boolean

True if the Wireless Hosted Network is enabled.

Return Value

Type: Integer

If the function succeeds, the return value is wclErrors.WCL_E_SUCCESS. If the function fails, the return value may be one of the WCL return codes.

The method can be called without opening the Hosted Network.