GZipStream.Close causes ObjectDisposedExeption: Why?
-
28-10-2019 - |
문제
Can anyone explain this?
해결책
when you close the GZip stream, it's closes the underlying file stream, the exception is thrown because you already closed the file stream. you don't need to close both of them, just close the gzip stream
제휴하지 않습니다 StackOverflow