WiFi Framework
TwclWiFiClient.Scan Method (TGUID, string, TwclWiFiScanIeData)

The Scan function requests a scan for available networks.

function Scan(const IfaceId: TGUID; const Ssid: string; const Ie: TwclWiFiScanIeData): Integer; overload;
const IfaceId: TGUID 
The WLAN interface's ID.  
const Ssid: 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.  
const Ie: TwclWiFiScanIeData 
An information element to include in probe requests. This may include client provisioning availability information and 802.1X authentication requirements. On Windows XP with SP3 and Wireless LAN API for Windows XP with SP2 this parameter must be nil. Maximum length of data is 240 bytes.  

If the function succeeds, the return value is 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.

Copyright (c) 2006-2019. All rights reserved.