2016-07-19
GetResponseStream 的流不支持 LengthStream responseStream = httpWebResponse.GetResponseStream();BinaryReader binaryReader = new BinaryReader(responseStream);byte[] arraryByte = new byte[responseStream.Length];binaryReader.Read(arraryByte, 0, (int)responseStream.Length);改为MemoryStream stmMemory = new MemoryStream();byte[] buffer = new byte[64 * 1024];int i;while ((i =...