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:
http://s39.radikal.ru/i085/0810/ff/7fdbb47008c9.jpg
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" check in Webbrowser control?
thanks in advance! Paul.