TwclWiFiClient.Scan(TGUID,string) Method

The Scan function requests a scan for available networks.

Namespace: wclWiFi
public
 function Scan(const IfaceId: TGUID; const Ssid: string): Integer; overload;

Parameters

IfaceId
Type: TGUID

The WLAN interface's ID.

Ssid
Type: string

Specifies the SSID of the network to be scanned. This parameter is optional. When set to an empty string, the returned list contains all available networks.

Return Value

Type: Integer

If the function succeeds, the return value is wclErrors.WCL_E_SUCCESS.

If the function fails, the return value may be one of the WCL return codes.

The Scan function requests that the native 802.11 Wireless LAN driver scan for available wireless networks.