摘要:
//方法一: // Create a request for the URL. WebRequest request = WebRequest.Create("http://www.hao123.com"); // If required by the server, set the credentials. request.Credentials = CredentialCache.DefaultCredentials; // Get the response. HttpWebResponse response = (HttpWebResponse)request.Get 阅读全文