c# webclient download file code example
Example: c# download file
using System.Net;
using (WebClient web1 = new WebClient())
web1.DownloadFile("URL", "FileName");
}
using System.Net;
using (WebClient web1 = new WebClient())
web1.DownloadFile("URL", "FileName");
}