WiFi Framework C++ Edition

◆ GetChannel()

int GetChannel ( unsigned long & Channel) const

Get the current channel.

Parameters
ChannelOn output the currently used channel.
Returns
If the function succeed the return value is wclCommon::WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.