2
Reply

Get Webresponse in console application

vjiay sutaria

vjiay sutaria

Feb 21 2012 3:57 AM
2.2k

Hi,

I have started to develop a console application , where I have to get the response(html webresponse) from a URL (its not a webservice) .

I have already developed a windows application, where I am doing the same task using the WebBrowser control.

Now the Issue is :

The URL which I am trying to access to get the response , having some async tasks which is populating some part of page. I am able to get everything done with my windows application , coz I have used webbrowser control there and webborwser control have some events, which helps me to achieve this.

Now I want to do the same thing in a console application(in future i have to do same thing for windows service), where I will have to get the response only after the state of page is loaded completely, means no async tasks is pending,,everything is loaded.


Can anyone help me here to get out of this?


Thanks

Vijay Sutaria


Answers (2)