【发布时间】:2011-07-14 09:05:45
【问题描述】:
可能重复:
How to disable “Security Alert” window in Webbrowser control
我目前在我的程序中使用 WebBrowser (System.Windows.Forms)。当我尝试通过 https 访问某些网站时,出现“您的网站安全证书有问题”的消息。有什么方法可以让 WebBrowser 忽略这些类型的警告?
WebClient有解决方案:How to ignore a certificate error with c# 2.0 WebClient - without the certificate 但这些解决方案不适用于这个问题,因为 WebBrowser 似乎忽略了 ServicePointManager 中设置的任何内容。
【问题讨论】:
标签: c# .net ssl browser webbrowser-control