Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi All,

JUst now i have upgraded my .net framework version from 4.0 to 4.6.2. But still i cant use TLS 1.2 in my project.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
is not supporting.
All replies welcome.
Note: My application is developed in .net 4.0

Thanks,
DK

What I have tried:

Change target framework in Config file but which is not working
Posted
Updated 22-May-17 2:57am
v4
Comments
phil.o 19-May-17 5:47am    
The mandatory way of changing a project's framework (I assume you are using Visual Studio) is to do a right-click on the project in the Solution Explorer, and select 'Properties'; then there appears a window, in which the first tab allows you to change the target framework of the project.
And you may have to define 'can't use TLS 1.2' more precisely as it is a rather vague problem description :)
Richard MacCutchan 19-May-17 7:10am    
Is TLS 1.2 part of the .NET framework?
Dhineshkumar Velmayil 19-May-17 8:08am    
Yes. In .net framework 4.6.2, Tls 1.2 is default one.
Richard MacCutchan 19-May-17 12:21pm    
OK, so now you need to explain what your problem is.
Dhineshkumar Velmayil 22-May-17 1:55am    
i have installed .net framework 4.6.2 in my system. My project is developed and running at .net 4.0. Now i wants to change the target framework of this project. But in project menu and myProject properties doesn't contain .net 4.6.2

To target .NET 4.6.2, you have to upgrade your Visual Studio to 2015.

VS2010 only supports through .NET 4.0.
 
Share this answer
 
 
Share this answer
 
Comments
Dhineshkumar Velmayil 22-May-17 3:33am    
i didnt saw recent upgraded .net version in .Net framework list. Here am using VS2010.
Maciej Los 22-May-17 4:03am    

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