Click here to Skip to main content
15,897,185 members

Comments by auto9817 (Top 17 by date)

auto9817 15-Mar-21 12:34pm View    
Yes, I agree. But I want to learn them by coding by myself.
auto9817 15-Mar-21 10:13am View    
I can tell that is in the nuget package. So you are saying both simple thread model and threadpool mode is unsafe potentially ?
auto9817 14-Feb-21 13:18pm View    
I use 4.52 .NET Framework at the moment for your information.
auto9817 14-Feb-21 13:15pm View    
When the form is loaded. This code for TLS is executed too. Apparently, this code is not placed in the same function as the WebClient. I call this code only once in the Form Loading.

ServicePointManager.Expect100Continue = true;

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };

But still it does not work. I am getting the same error.
auto9817 14-Feb-21 13:06pm View    
Yes, that is the exact error showed up on the html file received using WebClient connection. It is strange. I am using WebClient and they recognize me using some sort of Web Broswer, which is not.