TwclWiFiSniffer.GetChannel(Cardinal) Method

Get the current channel.

Namespace: wclWiFi
public
 function GetChannel(out Channel: Cardinal): Integer;

Parameters

Channel
Type: Cardinal

On output the currently used channel.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.