WlanDeleteProfile
[DllImport("wlanapi.dll", SetLastError = true)]
public static extern uint WlanDeleteProfile(
IntPtr hClientHandle,
ref GUID pInterfaceGuid,
[MarshalAs(UnmanagedType.LPWStr)] string strProfileName,
IntPtr pReserved
);
Microsoft documentation: Link
Last updated