I want to globally enforce using TLS 1.2 in my WPF application in the following way:
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
From .NET 4.5 TLS 1.2 protocol is supported for secure communication over https. My question is that will this always work if I ship the .NET 4.5 along side with my application. Does it depends on the OS version?