摘要:
/// summary/// 使用WebClient方法/// /summaryprotected void WebClientButton_Click(object sender, EventArgs e){pageUrl = UrlText.Text;WebClient wc = new WebClient();wc.Credentials = CredentialCache.DefaultCredentials;//方法一byte[] pageData = wc.DownloadData(pageUrl);ContentHtml.Text = Encoding.Default.G 阅读全文