APrettyCoolProgram
12/16/2019 - 8:49 PM

FileDownload

File: Download

// Download a file from a URL
public static void DownloadFileFromUrl(string urlPath, string destinationPath)
{
    var webClient = new WebClient();

    using (webClient)
        webClient.DownloadFile(new Uri(urlPath), destinationPath);
}