I have found many questions on TLS1.2. I could not find how to enable it for a self -hosted application. I have seen many answers saying
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12
this to be inserted in the code and it would work. I want to know what are all the changes I need to make for a self-hosted application to support TLS1.2 and where should I make those changes?