C# WebBrowser Control - ignore website security warnings

Posted by Ramsey on Stack Overflow See other posts from Stack Overflow or by Ramsey
Published on 2011-03-13T08:06:36Z Indexed on 2011/03/13 8:10 UTC
Read the original article Hit count: 1506

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET