[英]How can I verify if TLS 1.2 is supported in c#
in my c# Project i want to check from my client if the TLS version is 1.2. 在我的c#项目中我想从我的客户端检查TLS版本是否为1.2。 Is there any way to do this?
有没有办法做到这一点?
不直接回答您的问题:您可以通过以下方式支持相关版本的tls:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.