方法一: 代码如下:using System.Text;using System.Net;private string getHtml(string url){WebClient myWebClient = new WebClient();byte[] myDataBuffer = myWebClient.DownloadData (url);return Encoding.Default.GetString(myDataBuffer);}方法二: 代码如下:public string getHttp(string HttpUrl,string RefererUrl){string html