Nikhil Gupta
asked on
HttpWebresponse
How to write a Stream received from an httpWebResponse into a byte array in C#?
Thanks in advance..
Thanks in advance..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
// we will read data via the response stream
Stream resStream = response.GetResponseStream
int Length = 256;
Byte [] buffer = new Byte[Length];
int bytesRead = readStream.Read(buffer,0,L
itsvtk