Bevo,
Whenever I need to do this type of Web-scraping, getting a particular
element value, etc. I almost always use Simon Mourier's HtmlAgilityPack. It
features an HtmlDocument class that derives from IXPathNavigable which
essentially means your whole web page is the same as an XmlDocument. So, you
could do:
HtmlNode nod=myDoc.DocumentElement.SelectSingleNode("//title");
And then you can get the text, any attributes, etc. with the normal XPath
constructs.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Bevo" wrote:
My app validates web page URLs by using the HttpWebRequest/WebResponse .NET
classes. If URL is ok I'd like to present the user with the title of the web
page.
Anybody knows how to programmatically pick this from the response strem (if
its there at all)?
Bevo