I really don't understand the different IO stream types very well, but a working solution I found was getting rid of the memory stream altogether and downloading directly to a file stream. The only benefits of using memory streams I have read about are performance, but this solution works plenty fast for my needs.
↧





