0

I am trying to download files via https but I am getting this error. Where am I making mistakes? I used c#(asp.net)

The error is" Additional information: The request was aborted: Could not create SSL/TLS secure channel"

        string uri = "https://myurl";

        WebClient webClient = new WebClient();
        webClient.DownloadFile(uri, "localPathToSaveFile");
şule
  • 9
  • 2
  • 1
    Possible duplicate: https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel – Imantas Dec 27 '18 at 07:47
  • 2
    Possible duplicate of [The request was aborted: Could not create SSL/TLS secure channel](https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel) – vahdet Dec 27 '18 at 07:47
  • Possible duplicate of [HTTPS file download C#](https://stackoverflow.com/questions/11597127/https-file-download-c-sharp) – Richardissimo Dec 27 '18 at 07:53

0 Answers0