how to download things c#

72

how to download things c# -

using System.Net;

WebClient webClient = new WebClient();
webClient.DownloadFile("http://mysite.com/myfile.txt", @"c:\myfile.txt");

Comments

Submit
0 Comments