Tech Off Post

Single Post Permalink

View Thread: HTTP Download
  • User profile image
    evildictait​or

    Use 

    using System.Net;
    ... 

    WebClient wc = new WebClient();
    wc.DownloadFile(httpHostName, localFileName);

     

    Under the hood this is using the same mechanism to download the files as Internet Explorer (WinInet/WinHttp).