I tried using
In which ap.Name is the name of the Network/Profile (ap is AccessPoint ap).
It didn't work. With or without quote marks around the profile name.
I tried using deleteProfile(string profile) from the Managed Wifi api but it doesn't recognize the function, even though I installed the Managed Wifi thing.
Quote:
Process proc = Process.Start("cmd", "netsh wlan delete profile name="+ (char) 34 + ap.Name + (char)34);
proc.Kill();
proc.Kill();
In which ap.Name is the name of the Network/Profile (ap is AccessPoint ap).
It didn't work. With or without quote marks around the profile name.
I tried using deleteProfile(string profile) from the Managed Wifi api but it doesn't recognize the function, even though I installed the Managed Wifi thing.