System.Net.WebClient wc = new System.Net.WebClient();
wc.DownloadFile("http://www.xyz.com/abc.mp3", "hello.mp3");
wc.DownloadFile("http://www.xyz.com/abc.mp3", "hello.mp3");
// first parameter is the path of file which is on the internet
// second parameter is the filename which is used to save in local system.
No comments:
Post a Comment