wclWiFiClientScan(Guid, String, Byte) Method |
The Scan function requests a scan for available
networks.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int Scan(
Guid IfaceId,
string Ssid,
byte[] Ie
)
Public Function Scan (
IfaceId As Guid,
Ssid As String,
Ie As Byte()
) As Integer
public:
int Scan(
Guid IfaceId,
String^ Ssid,
array<unsigned char>^ Ie
)
Parameters
- IfaceId Guid
- The WLAN interface's ID.
- 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.
- Ie Byte
- 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
null. Maximum length of data is 240 bytes.
Return Value
Int32 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.
Remarks The Scan function requests that the native 802.11 Wireless
LAN driver scan for available wireless networks.
See Also