C# (With .NET & Visual Studio) WebForms - How can I get the title of a page ..?

Posted by Ashley Davies on Stack Overflow See other posts from Stack Overflow or by Ashley Davies
Published on 2011-02-23T22:31:56Z Indexed on 2011/02/23 23:25 UTC
Read the original article Hit count: 198

Filed under:
|
|

Prety long question;

How can I do the following in C#:

Open a webpage (Prefferably not visible) Check whether the page redirects to a different page (Site is down, 404, etc.) Check if the title is not equal to a said string

Then seperately, (They need to click a confirm button)

open their browser, and go to the adress of the first (It'll be the only one) hyperlink on the site.

I literally have been looking on google for ages and haven't found anything similar to what I need.

Whether you give me a link to a site with a tutorial on this area of programming or actual source code doesn't make a difference to me.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET