httpwebrequest to get html

by 亿答案 22. 十二月 2009 06:27

代码如下:

            System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(“http://www.yidaan.com");
            System.IO.Stream stream = request.GetResponse().GetResponseStream();
            string html = new System.IO.StreamReader(stream).ReadToEnd();

Tags: ,

.NET 编程

评论

2010/5/11 4:44:20 #

ugg boots store

Very vivid appearance, perfect plot, challenging game. Many of us put this game as a very important part of life. Surprise,when I browse the web ,I found these website Pretty good. such as xxxxxx, go and see it that rich variety of fashion at a reasonable price !

ugg boots store People's Republic of China

2010/5/27 11:50:07 #

cheap brand shoes

This is something of a eulogy. I thought contacting its creator was the best way to let their lives end gracefully – in a full circle. They were unbelievable wholesale brand shoes, durable as all get-out and as stylish as Elvis on fire. It's time to let them go and move on to a new pair of cheap brand shoes. Like burying a family dog, setting them down is a hard task to do. But, alas, all things must end. http://www.freewholesale.net  

cheap brand shoes People's Republic of China

添加评论


(将显示你的Gravatar图标)

  Country flag

biuquote
  • 评论
  • 在线预览
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

RecentComments

Comment RSS