开发者

On Windows Phone, can I view the source of a URL, if the URL itself is known?

and thanks for looking.

Imagine your standard barebones Windows Phone app. Say, I开发者_开发问答 have a URL in mind. I want to be able to view the HTML source for that URL, because I'm looking for particular info that is on that page. Is there any way to do this?

Peace.


You can pull down the html for any page using HttpWebRequest. This project demonstrates that among other things.

WebClient, HttpWebRequest and the UI Thread on Windows Phone 7

If scraping data from webpages, be sure to verify the rights granted by the site's owner for that purpose.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜