Download HTML content that require authorization?

Posted by NVA on Stack Overflow See other posts from Stack Overflow or by NVA
Published on 2009-05-26T07:12:44Z Indexed on 2010/04/13 19:03 UTC
Read the original article Hit count: 216

I use WebClient from System.Net Namespace of Visual Studio 2008 to download the HTML content.

It done well with normal website but with some 4rum that require authorization such as warez-bb.org, it always return the HTML of the login page.

I wonder if there is a way to send the username and password to the WebClient?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about webclient