I don\'t understand what I\'m doing wrong here. I generate couple of memory streams and in debug-mode I see that they are populated. But when I try to copy MemoryStrea
MemoryStrea
Another alternative to CopyTo is WriteTo.
CopyTo
WriteTo
Advantage:
No need to reset Position.
Usage:
outStream.WriteTo(fileStream);
Function Description:
Writes the entire contents of this memory stream to another stream.