C# WebBrowser Control - ignore website security wa

2019-08-09 03:11发布

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.

登录 后发表回答