private string getHtml(string url)
{
WebClient myWebClient = new WebClient();
byte[] myDataBuffer = myWebClient.DownloadData(url);
return Encoding.Default.GetString(myDataBuffer);
}
转载于:https://www.cnblogs.com/ori8/archive/2009/06/09/1499871.html