SSL / TLS / HTTPS sites are very slow in a C # /. NET WebBrowser control, but work fine in Internet Explorer

Background

I am modifying AutoWikiBrowser to work with a MediaWiki site hosted on a secure server. I allow the user to log in manually through the WebBrowser control in a C # application, and then save the saved cookies for use in HttpWebRequest.

Problem

The problem that I encountered is that on any site using SSL / TLS (https: // urls), it takes a very long time to load, often with time allocation. I tried this not only with the MediaWiki website, but also with other secure sites such as PayPal and secure GMail.

Out of curiosity, I tried the same https sites in the Visual Studio Help browser, [VB WebBrowser Sample] [2] and [WPF WebBrowser Control Sample] [3], and they were all dead slowly. These same sites work fine in Internet Explorer 7 (and, of course, in Firefox).

Question

What could cause SSL / TLS sites (https urls) to be very slow with the .NET WebBrowser control, but upload them to Internet Explorer?

+3
source share
1 answer

, , - , HTTP, SSL . , ( , / ), 20 45 , ....... .NET.

, NULL, .

, , :

_api.Proxy = WebRequest.DefaultWebProxy;

, :

_api.Proxy = null;

-.

- , WinHTTP app.config, ya.

0

Source: https://habr.com/ru/post/1756764/


All Articles