Visual C# 2008 Express Application - open urls, handle cookies and login
I need some help in Visual C# 2008 Express.
I don't want you to write the full code , I just need some examples, and help documents.
The project aim:
With the application you can login to sites (that using cookies) through a small browser window (system.windows.forms.webbrowser). It is a normal browser. It displays example.com/login .php
I would like the user to login through this, to get the login cookies.
Than there is a textbox: user can enter an url
Than the application only "requests" the url (don't really download and don't displays is)
But on this part I cant use the browsers cookies , so I cant login.
I can't login with example.com/login.php?user=admin&pass=something too.
But I've exported the raw stream and the headers when I login with Firefox (data from HttpAnalyzer *code section)
I tried HttpWebRequest without and with CookieContainer but I can't get it work.
Is there any help or examples on this?
Or is there any way to use the HttpAnalyzer's data?
Please help me!
If you can't understand something, I can try to write down it again, because english is not my main language.