Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to login into a website through window application programmitically and fetch page source?
Posted
Comments
StianSandberg 13-Aug-12 4:28am    
This is not a straight forward easy task and it depends on what authentication technique this website is using. You will have to post to the login page, get back the sessionId/authentication cookies etc from that page and send that as headers for your next request.

See the following example, if that is what you are looking for:
webbrowser-control-in-C-Sharp-and-windows-forms[^]
 
Share this answer
 
Comments
raju melveetilpurayil 13-Aug-12 5:28am    
Yes, good call
 
Share this answer
 
Comments
Randeep Chauhan 13-Aug-12 6:59am    
Thanks Raju........
raju melveetilpurayil 13-Aug-12 7:11am    
welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900