摘要: 主要用到的是WebRequest和WebResponseprotected void ToHtml() { WebRequest request = WebRequest.Create("http://www.hao123.com"); WebResponse response = request.GetResponse(); StreamReader reader = new StreamReader(response.GetResponseStream(), System.Text.Encoding.UTF8); string content = reader.Read 阅读全文
posted @ 2012-12-14 15:55 ajunfly 阅读(2186) 评论(0) 推荐(0)