.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ZipArchive.Dispose() Method

Clears all zip items, disposes all associated streams and releases all resources used by the ZipArchive object.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public void Dispose()

Remarks

Call the Dispose method when you have called the ZipArchive.Save or ZipArchive.Extract method of the ZipArchive object instance and are finished working with it. This releases all resources allocated by the object.

You are advised to operate with the ZipArchive object instance within the using statement (Using block in Visual Basic).

See Also