Dispose Method (disposing)

DotNetZip

Ionic Zip Library v1.9.1.6 Dispose Method (disposing)
ReferenceIonic.ZipZipInputStreamDispose(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)
true if the Dispose method was invoked by user code.
Remarks

This method disposes the ZipInputStream. It may also close the underlying stream, depending on which constructor was used.

Typically the application will call Dispose() implicitly, via a using statement in C#, or a Using statement in VB.

Application code won't call this code directly. This method may be invoked in two distinct scenarios. If disposing == true, the method has been called directly or indirectly by a user's code, for example via the public Dispose() method. In this case, both managed and unmanaged resources can be referenced and disposed. If disposing == false, the method has been called by the runtime from inside the object finalizer and this method should not reference other objects; in that case only unmanaged resources must be referenced or disposed.

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