.net 4.5 httpclient tls 1.2 code example
Example: Net.ServicePointManager.SecurityProtocol .net framework 4
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;