TonyValenti / Mime-Detective-clarkis117

Mime type detector for files, byte arrays, and streams, .NET Standard Fork
MIT License
38 stars 9 forks source link

ZipArchive disposes stream #5

Closed marko444 closed 7 years ago

marko444 commented 7 years ago

Input stream will be disposed after calling GetFileType().

Regards!

clarkis117 commented 7 years ago

@marko444 Thanks for raising this issue 😀

clarkis117 commented 7 years ago

Version 0.0.3 will address this, btw

clarkis117 commented 7 years ago

@marko444 Version 0.0.3 addressed this by not allowing stream inputs to be closed and added regression tests for this