问题
Possible Duplicate:
How to disable “Security Alert” window in Webbrowser control
I'm currently using WebBrowser (System.Windows.Forms) in my program. When I try to access some websites over https, the message "There is a problem with your websites security certificate" appears. Is there any way I can get WebBrowser to ignore these types of warnings?
There are solutions for WebClient: How to ignore a certificate error with c# 2.0 WebClient - without the certificate But those solutions do not apply to this problem, as WebBrowser seems to ignore whatever is set in ServicePointManager.
回答1:
You might want to look at http://www.codeproject.com/KB/shell/WebBrowserControlDialogs.aspx from the question Access Intranet via SSL using WebBrowser Winforms Control
来源:https://stackoverflow.com/questions/5288223/c-sharp-webbrowser-control-ignore-website-security-warnings