摘要: 方案1: /// /// 传入URL返回网页的html代码 /// /// URL /// public static string getUrltoHtml(string Url) { errorMsg = ""; try { System.Net.WebRequest wReq = System.Net.WebRequest.Create(Url); // Get the response instance. System.Net.WebResponse wResp =wReq.GetResponse(); // Read an HTTP-specific property //if (wResp.GetType() ==HttpWebResponse) //{ //DateTime updated =((System.Net.HttpWebResponse)wResp).LastModified; //} // 阅读全文
posted @ 2010-07-06 09:39 pcxpt.exe 阅读(629) 评论(1) 推荐(1) 编辑