WiFi Framework C++ Edition

◆ GetChannel()

int GetChannel ( unsigned long &  Channel) const

Reads the interface's channel number.

Parameters
ChannelThe channel number.
Returns
If the function succeed the return value is wclCommon::WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.