Download Data : WebClient : Network C# Examples


C# Examples » Network » WebClient »

 

Download Data









    
using  System;
using  System.Net;
using  System.Text;

class  MainClass
{
      public  static  void  Main(string[]  argv)
      {
            WebClient  wc  =  new  WebClient();
            byte[]  response  =  wc.DownloadData("http://www.navioo.com");
            Console.WriteLine(Encoding.ASCII.GetString(response));
      }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Network
» WebClient