Upload HTML content that requires authorization?
I am using WebClient from System.Net Namespace for Visual Studio 2008 to load HTML content.
This works well with a regular website, but with some 4rum requiring authorization like warez-bb.org it always returns the HTML login page.
I wonder if there is a way to send the username and password to the web client?
0
a source to share
1 answer
See this post: How to fill out forms and submit with Webclient in C #
You will most likely have to use HttpWebRequest and manually send the POST data.
0
a source to share