开发者

Get the text from a web page

How开发者_开发问答 do I capture the text from the web page? Do I need to get the page source and how?


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

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜