TwclWiFiInterface.GetChannel(Cardinal) Method

Reads the interface's channel number.

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

Parameters

Channel
Type: Cardinal

The channel number.

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.