C# 解決「請求被停止: 未能建立 SSL/TLS 安全通道」的問題

當請求Web數據時,「請求被停止: 未能建立 SSL/TLS 安全通道」的問題安全

在https請求以前加
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; //加上這一句
相關文章
相關標籤/搜索