.NET Framework 3.5 and TLS 1.2
As you can see from the docs, TLS 1.2 is not in the enumeration for SslProtocols
, it was added to the enum in .NET 4.5 (thanks @orhun).
There is no workaround for TLS 1.2 compatibility on .NET 3.5.
Unfortunately you will have to upgrade to .NET 4.5 or later to get TLS 1.2 compatibility.
EDIT 10/11/17
My above answer is no longer accurate. In May of 2017, Microsoft released a package to allow TLS 1.2 in .NET 3.5.1.
Use TLS on .NET Compact Framework 3.5
Thanks for all the comments. We ended doing an "bridge" between our code and the Bouncy Castle libraries, so now we can send TLS request via SOAP protocol to the server.
Maybe the community may remember that some kind of companies do not use to update the tools they use, so, as I have been told that this is outdated, I must say that this system is in use by one of the largest companies in the world. And we keep it up to date.
Thanks anyway.
Related Topics
Displayname Attribute VS Display Attribute
How to Make Method Call Another One in Classes
How to Know User Has Clicked "X" or the "Close" Button
Displaying Standard Datatables in MVC
Azure Asp .Net Webapp the Request Timed Out
Returning in the Middle of a Using Block
How to Use C# to Sanitize Input on an HTML Page
How to Solve Operator '!=' Cannot Be Applied to Operands of Type 'T' and 'T'
How to Insert a Data Table into SQL Server Database Table
Does a Locked Object Stay Locked If an Exception Occurs Inside It
Using the C# Dispatcher in Wpf Applications
Populate Treeview with File System Directory Structure
How to Add a Custom Routed Command in Wpf
Accessing Properties Through Generic Type Parameter