Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For adding TLS 1.2 I found following string

System.Net.ServicePointManager.SecurityProtocol =
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;


But this string is not compatible with VC++ 6.0 unmanaged code.
Task infront of me is to add TLS 1.2 support.Database used in
SQL server 2014.Please help.

What I have tried:

I googled but did not found anything which will help
Posted
Updated 28-Aug-19 4:29am

1 solution

You cannot add .NET code int a C++/MFC application. Considering C++ 6.0 is long out of date you may need to implement this yourself. See Transport Layer Security - Wikipedia[^] for details.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900