📜  请求被中止,无法创建 ssl tls 安全通道. c# restsharp - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:45.339000             🧑  作者: Mango

代码示例1
//Add this line of code before RestClient
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;