使用WebClient 获取远程网页内容

WebClient webclient = new WebClient();
        webclient.Encoding = System.Text.Encoding.GetEncoding("UTF-8");
        Response.Write(webclient.DownloadString("http://www.cnblogs.com/supers/category/125281.html/rss"));
        Response.End();
posted @ 2009-04-15 18:40  supers  阅读(522)  评论(0)    收藏  举报