Mike,
If you don't have the page in a browser already, then you will have to
download the content from the page. You can use the HttpWebRequest and
HttpWebResponse classes to get the content. Once you have the content, you
will have to parse the HTML and get the contents of the <title> tag, which
is what is displayed in the browser title bar.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Mike" <ml********@hotmail.com> wrote in message
news:47**************************@posting.google.c om...
In a Windows Forms application I want to get the title of a web page
when I know it's url. For example, the page which the url
"http://groups.google.com/" refers has the title "Google Groups". How
do I return "Google Groups" when I know only the url? Thanks.