0

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?

ByulTaeng
  • 1,269
  • 1
  • 21
  • 40

1 Answers1

0

See this post: How to fill forms and submit with Webclient in C#

You will likely need to use HttpWebRequest and submit form POST data manually.

Community
  • 1
  • 1
joshcomley
  • 28,099
  • 24
  • 107
  • 147