could not create ssl/tls secure channel .net 4.7.2 code example
Example: could not create ssl/tls secure channel
// using System.Net;
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
// Use SecurityProtocolType.Ssl3 if needed for compatibility reasons