【问题标题】:C# WebBrowser Control - ignore website security warnings [duplicate]C# WebBrowser 控件 - 忽略网站安全警告 [重复]
【发布时间】: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


    【解决方案1】:
    猜你喜欢
    • 2011-01-12
    • 1970-01-01
    • 2011-10-19
    • 1970-01-01
    • 1970-01-01
    • 2010-10-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多