"Could not create SSL/TLS secure channel" error

Simply add this code to your method to remove the issue :

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

Last updated

Was this helpful?