^

Prepare Scripts for SSL Connections

Article 53 in C-Sharp

<< Back
2020-09-24 07:34:46 from bugfish
Prepare Scripts for SSL Connections
C-Sharp / Hints
Last Review on: 2022-08-07 11:43:13 | Hits: 538

If SSL Connections fail with Security Protocol Error, this code in Main Function could do the trick!

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

I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.

Comments

Currently 1 Upvotes!

captcha image
System - 2022-08-17 03:19:16
Thanks for visiting my page and have a nice day!
Staff may be in trouble!
Theme
Switch: 0 | Arrive: 1
This Website is using Session Cookies for Site Functionality and AWStats.