using System;
using System.Net;
public class DownloadFileTest
{
public static void Main(string[] argv)
{
WebClient wc = new WebClient();
string filename = "webpage.htm";
wc.DownloadFile(argv[0], filename);
Console.WriteLine("file downloaded");
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok