I am calling a web service
HttpWebRequest webReq = (HttpWebRequest)HttpWebRequest.Create("http://...");
...
WebResponse res = webReq.GetResponse();
Stream resStream = res.GetResponseStream();
byte[] responseBytes = new byte[resStream.Length];
resStream.Read(responseBytes, 0, (int)resStream.Length);
the last line of code throws an exception:
The stream does not support seek operation.
what should I do to read the response?