Check out example codes for ".net 4.5 use tls 1.2". It will help you in understanding the concepts better.
Code Example 1
System.Net.ServicePointManager.SecurityProtocol =
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Learn ReactJs, React Native from akashmittal.com