TwclWiFiSniffer.Open(TGUID) Method

Opens the sniffer and starts capturing WiFI frames.

Namespace: wclWiFi
public
 function Open(const Id: TGUID): Integer;

Parameters

Id
Type: TGUID

The WiFi interface ID that should be used for capturing.

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.