Dispose Method (disposing)

DotNetZip

Ionic Zip Library v1.9.1.6 Dispose Method (disposing)
ReferenceIonic.ZipZipOutputStreamDispose(Boolean)
Dispose the stream
Declaration Syntax
C# Visual Basic Visual C++
protected override void Dispose(
	bool disposing
)
Protected Overrides Sub Dispose ( _
	disposing As Boolean _
)
protected:
virtual void Dispose(
	bool disposing
) override
Parameters
disposing (Boolean)
set this to true, always.
Remarks

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.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)