Thursday, November 26, 2009

How to Download a File using C#.NET in Visual Studio

System.Net.WebClient wc = new System.Net.WebClient();
wc.DownloadFile("http://www.images.com/some.jpg",@"C:\some.jpg");

this is so simple. You can download any kind of file using this.

1 comment:

Niravgandhi said...

I have create application for Blackberry Mobile using C#.Net.
please tell me What tool i need?
how can store Database?
How can Create Application?