This project is read-only.

Input FileStream Disposal

Mar 13, 2012 at 9:11 PM

Would it be possible to update the ZipFile.Save behavior to NOT dispose input FileStreams? Or only dispose them when invoking the AddFile(s) method(s) if necessary? Or only when a Steam is NOT passed directly (i.e. ZipFile.AddEntry)?

How about adding a property (e.g. ShouldDisposeFileStream) to the ZipFile or ZipEntry class to allow for the input stream to not be disposed as part of saving the ZipFile?