My one of the applications is built on VB .NET 4.0 but the Application & Database Servers contains .NET framework 4.7.2.
I need to upgrade my application to support TLS1.2 from SSL.
As per the link TLS 1.2 in .NET Framework 4.0, do I need to add the below code in Global.asax file or not? as my application built on .NET 4.0.
ServicePointManager.SecurityProtocol = DirectCast(3072, SecurityProtocolType)
If I have to add the code, then do I need to change anything in the DB server (currently accepts SSL requests) to accept this TLS12 request? and if my application use SOAP call (WCF), then do I need to add the above code in the WCF application as well?