![](/img/trans.png)
[英]How to tick “TLS 1.2”(Internet Option > Advanced setting > Security> TLS 1.2) using C#
[英]How can I verify if TLS 1.2 is supported in c#
在我的c#項目中我想從我的客戶端檢查TLS版本是否為1.2。 有沒有辦法做到這一點?
不直接回答您的問題:您可以通過以下方式支持相關版本的tls:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.