📜  请求被中止:无法创建 SSL TLS 安全通道. - C# 代码示例

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

代码示例4
ServicePointManager.Expect100Continue = true;
            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
                   | SecurityProtocolType.Tls11
                   | SecurityProtocolType.Tls12
                   | SecurityProtocolType.Ssl3;