Download file in C# . NET
private bool download(string url, string file) {
try
{
System.Net.WebClient client = new WebClient();
client.DownloadFile(url, file);
return true;
}
catch (Exception exc)
{
richTextBox1.AppendText("\n" + exc.ToString());
return false;
}
}
Article Download file in C# . NET
Download file in C# . NET