The easiest way is skip the stream and just do File.ReadAllText().
Alternatively, if you must use the stream, then do:
---8<---
new StreamReader(stream).ReadToEnd()
--->8---
-- Barry
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.