Ionic Zip Library v1.9.1.6
Dispose Method (disposing)
Reference ► Ionic.Zip ► ZipOutputStream ► Dispose(Boolean)
Dispose the stream


- disposing (Boolean)
- set this to true, always.

This method writes the Zip Central directory, then closes the stream. The application must call Dispose() (or Close) in order to produce a valid zip file.
Typically the application will call Dispose() implicitly, via a using statement in C#, or a Using statement in VB.