.activescan Method

Function:

Causes the Wi-Fi interface to commence either the active detection of available wireless networks or obtainment of an additional information about a particular network specified by its SSID (name). This method is a task.

Syntax:

wln.activescan(byref ssid as string) as accepted_rejected

Returns:

One of accepted_rejected constants:

  • 0 — ACCEPTED
  • 1 — REJECTED

See Also:

Scanning for Wi-Fi Networks, wln.scan


Part

Description

ssid

Network name. Leave empty to detect all available networks — after the scan, the comma-delimited list of networks will be in wln.scanresultssid. Alternatively, specify the network name. If the network is detected, its parameters will be available through wln.scanresultssid, wln.scanresultbssid, wln.scanresultbssmode, wln.scanresultchannel, wln.scanresultrssi, wln.scanresultwpainfo.