Help with Simple way to retrieve HTML pages

  • Thread starter Thread starter David Elliott
  • Start date Start date
D

David Elliott

I know I can use
AxSHDocVw.AxWebBrowser browser.Navigate(...);
catch the
browser_DocumentComplete()
and retrieve using the page using
htm = (mshtml.HTMLDocument)browser.Document;

I am looking for a non-GUI way to just retrieve the web page.
I know that there is, I just can't seem to find/remember what it is.

Thanks,
Dave
(e-mail address removed)
 
David,

You will want to take a look at the HttpWebRequest and HttpWebResponse
classes, as they will allow you to access resources that are handled through
HTTP.

Hope this helps.
 
A response was addressed to me and I am posting the answer.

HttpWebRequest and HttpWebResponse

Cheers,
Dave
 
Back
Top