WiFi Framework C++ Edition

◆ SetState()

int SetState ( const bool  Enabled)

Writes the wireless Hosted Network enabled flag.

Parameters
EnabledTrue to enable the Wireless Hosted Network.
Returns
If the function succeeds, the return value is wclCommon::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. The method requires administrative rights.