Download file from Internet in Windows Application

By j Miracle

Here i will show how you can download file from the internet in the windows application in c#

           System.Net.WebClient wc = new System.Net.WebClient();
            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.

Download file from Internet in Windows Application  (1071 Views)