bool DeleteWlanProfile(string, string)

Deletes the saved WLAN profile with the specified name on the specified interface.


Trust Level Required: Full Trust


Name Description
profileName string
The name of the WLAN profile to delete. This must match the name of one of the items returned by GetWlanProfiles(), and is case-sensitive.
interfaceName string
The GUID of the interface to delete the WLAN profile from. This must match the GUID of one of the items returned by GetInterfaces().


Returns true if the specified profile is found and deleted from the specified interface. Returns false if the interface is not valid, available, or ready; or if the profile name is not found on the interface.


This function is synchronous, and will block until the call is completed.


// delete the profile named 'mywifi' from the first interface
var interfaces = KioWiFi.GetInterfaces();
if (interfaces.length == 0) {
    alert('No network interfaces were detected');

var success = KioWiFi.DeleteWlanProfile('mywifi', interfaces[0].guid);


KioWare for Windows version 8.14 or greater.