I'm trying to connect and download website content that requires an authentication that is not "overloaded".
The options are:
- user
- user+password,
- user+password+domain
I need user+subscriber+password. How can i pass this credentials?
code:
WebClient client = new WebClient(); public void search() { client.Credentials = new System.Net.NetworkCredential(username, subscriber, password); //not really exist Byte[] pageData = client.DownloadData("https://example.com/"); ... }
https://thewebsite.i.need/is will go a long way to someone being able to help you.