日期:2014-05-17 浏览次数:20853 次
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(" http://192.168.250.76:8080/ZCPD/DownloadAssetData?userCode=3700010100&password=21232f297a57a5a743894a0e4a801fc3&planCode=CP201401131002091");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream receiveStream = response.GetResponseStream();
StreamReader readStream = new StreamReader(receiveStream, content_encode);
string content = readStream.ReadToEnd();
receiveStream.Close();
response.Close();
readStream.Close();
request.Abort();