Download File Test : Web Client : Network C# Source Code


Custom Search

C# Source Code » Network » Web Client »

 

Download File Test








    


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");
   }
}


           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Network
» Web Client