Nouman Zakir

while (true) { Post.NewArticle(); }
posts - 16, comments - 25, trackbacks - 0

My Links

News

Archives

Post Categories

Personal Website

C#

C# Image Download
A C# class that makes it easier to download images from the web. Use the following code in your program to download image files such as JPG, GIF, PNG, etc from the internet using WebClient class. using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net; public class DownloadImage { private string imageUrl; private Bitmap bitmap; public DownloadImage(string imageUrl) { this.imageUrl = imageUrl; } public void Download() { try { WebClient client = new WebClient();...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, March 11, 2010 2:27 PM | Feedback (0) | Filed Under [ Programming C# .Net ]

Powered by: