HttpWebRequest
var request = (HttpWebRequest)HttpWebRequest.Create(Config.GoodLineUrlAjax); // 创建请求 var respone = (HttpWebResponse)request.GetResponse(); // 创建响应,发送请求 var stream = respone.GetResponseStream(); var streamReader = new StreamReader(stream); return streamReader.ReadToEnd();