日期:2014-05-17 浏览次数:21958 次
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream myResponseStream = response.GetResponseStream();
StreamReader myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding("utf-8"));
string retString = myStreamReader.ReadToEnd();
myStreamReader.Close();
myResponseStream.Close();
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("");
request.Headers.Add(HttpRequestHeader.Authorization, "");