download file from url c# asp.net web forms 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");
}