获取指定目标的网页源代码! 由 群群 · 06/10/2009 private string getHtml(string url) { WebClient myWebClient = new WebClient(); byte[] myDataBuffer = myWebClient.DownloadData(url); return Encoding.Default.GetString(myDataBuffer); } Share