Hi, I´m creating a windows forms program that is used for creating accounts online on a few different websites.
Everything is working fine exept the captcha code of course. Now please don't misunderstand me, I'm not out to spam pages or anything like that.
What I want to do here is to somehow "copy" the generated captcha image and present it on my windows form. The problem is that the "src=" in the HTML tag doesn't call for a static URL, but calls a PHP-page that generates the captcha. I hope you understand what I want to do.. if not, please ask and I will try to be more clear.
"copy" captcha image
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

PJ MartinsRank #2,548 · 548 reputationPosted Jun 2, 2010, 9:30 AM EDT
System.Net.WebClient client = new System.Net.WebClient();
// download file
client.DownloadFile("<
// retrieve file bytes
byte[] imgBytes = client.DownloadData("<
Johan Persson5 reputationPosted Jun 2, 2010, 12:16 PM EDT