Get the text from a web page

201 views Asked by At

How do I capture the text from the web page? Do I need to get the page source and how?

1

There are 1 answers

1
George Johnston On BEST ANSWER

The WebClient object has a method available to do this for you:

WebClient client = new WebClient();
string html = client.DownloadString("http://www.google.com");