How to disable “Security Alert” window in Webbrowser control
问题 I'm using Webbrowser control to login to HTTPS site with "untrusted certificate". but I get popup such standart window "Security Alert" about untrusted certificate: I have to find this window by title and send it Alt + Y to press Yes : int iHandle = NativeWin32.FindWindow(null, "Security Alert"); NativeWin32.SetForegroundWindow(iHandle); System.Windows.Forms.SendKeys.Send("Y%"); but user can see a flickering of this window. How can I ignore this alert? Or disable this "untrusted certificate"