I'm trying to access restricted data on a website using WebClient/WebRequest. There is no official API in that website, so what I'm trying to do is simply fill the HTML form and post the values to the server, so I'm logged in.
I tried this and this, but it doesn't look like the upcoming requests are logged in.
The latter example is much more appealing since I obviously prefer WebClient, but legacy WebRequest will do.
Anyway, in the first example I think it did login, but the upcoming requests that access the private data return a page with a message "This is member only content".
How to make a WebClient permanently logged in?