2011-03-13 198 views
1

可能重複:
How to disable 「Security Alert」 window in Webbrowser controlC#WebBrowser控件 - 忽略網站的安全警告

我目前使用的web瀏覽器(System.Windows.Forms的)在我的計劃。當我嘗試通過https訪問某些網站時,顯示「您的網站安全證書存在問題」消息。有什麼方法可以讓WebBrowser忽略這些類型的警告?

有WebClient的解決方案:How to ignore a certificate error with c# 2.0 WebClient - without the certificate 但是這些解決方案不適用於這個問題,因爲WebBrowser似乎忽略了ServicePointManager中設置的任何內容。

回答