ProfileInfo[] GetWlanProfiles(string)
Retrieves a list of all WLAN profiles that have been created on this computer.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
interfaceGUID |
string The GUID of the interface to retrieve WLAN profiles for. This must match the GUID of one of the items returned by GetInterfaces(). |
Return
An array of WiFiProfileInfo objects that exist on the system for the specified interface, or null if the interface is not valid, available, or ready.
Remarks
This function is synchronous, and will block until the call is completed.
Examples
// shows all saved profiles for the first interface.
var profiles = KioWiFi.GetWlanProfiles();
if (profiles.length > 0) {
for (var i = 0; i < profiles.length) {
alert(profiles[0].Name);
}
}
Requirements
KioWare for Windows version 8.14 or greater.