This is an old revision of the document!
====== ListWifiNetworks (since 1.0.1) ====== The ''ListWifiNetworks'' function returns a list of Wifi network names. On Windows and Linux the names are the Wifi network profile names. On all other platforms the SSIDs are returned. <WRAP center round important 60%> **Note:** This function is **only available on the following desktop platforms**: Microsoft Windows 7 and newer, Apple OS X (not App Store version!), Raspberry Pi, Linux. </WRAP> ==== Parameters ==== * ''networkInterface'': The network interface which is used to scan for networks. A common interface name is "**wlan0**". At the moment this parameter is ignored on all platforms. ==== Syntax ==== <code> array: ListWifiNetworks([string networkInterface = ""]) </code> ==== Examples ==== <code> var result = ListWifiNetworks(); // returns a list with Wifi networks. // False is returned if the command failed, for instance if the network interface is // down or if no network interface is given but one is required by the platform. var result = ListWifiNetworks("wlan0"); // returns a list of Wifi networks for the "wlan0" interface on platforms which support this. </code>