Ionic Zip Library v1.9
Ionic.Zip Namespace
ReferenceIonic.Zip
Classes in the Ionic.Zip namespace allow applications to read and write zip files according to the format described by pkware, at: http://www.pkware.com/business_and_developers/developer/popups/appnote.txt. This implementation utilizes a DeflateStream class implemented in managed code, in the Ionic.Zlib namespace. It does not use System.IO.Compression.DeflateStream in the .NET Framework v2.0 base class library. DotNetZip is donationware. Please donate. Proceeds go to the Boys & Girls Club in Pennsylvania, USA. http://cheeso.members.winisp.net/DotNetZipDonate.aspx
Declaration Syntax
C#Visual BasicVisual C++
namespace Ionic.Zip
Namespace Ionic.Zip
namespace Ionic.Zip
Types
All TypesClassesEnumerationsDelegates
IconTypeDescription
AddProgressEventArgs
Provides information about the progress of a Add operation.

BadCrcException
Issued when an CRC check fails upon extracting an entry from a zip archive.

BadPasswordException
Issued when an ZipEntry.ExtractWithPassword() method is invoked with an incorrect password.

BadReadException
Indicates that a read was attempted on a stream, and bad or incomplete data was received.

BadStateException
Indicates that an operation was attempted on a ZipFile which was not possible given the state of the instance. For example, if you call Save() on a ZipFile which has no filename set, you can get this exception.

CloseDelegate
Delegate in which the application closes the stream, just-in-time, for the named entry.

ComHelper
This class exposes a set of COM-accessible wrappers for static methods available on the ZipFile class. You don't need this class unless you are using DotNetZip from a COM environment.

CompressionMethod
The method of compression to use for a particular ZipEntry.

EncryptionAlgorithm
An enum that provides the various encryption algorithms supported by this library.

ExtractExistingFileAction
An enum for the options when extracting an entry would overwrite an existing file.

ExtractProgressEventArgs
Provides information about the progress of the extract operation.

OpenDelegate
Delegate in which the application opens the stream, just-in-time, for the named entry.

ReadProgressEventArgs
Provides information about the progress of a Read operation.

SaveProgressEventArgs
Provides information about the progress of a save operation.

SelfExtractorFlavor
An enum that provides the different self-extractor flavors

SelfExtractorSaveOptions
The options for generating a self-extracting archive.

SetCompressionCallback
Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.

SfxGenerationException
Issued when errors occur saving a self-extracting archive.

WriteDelegate
Delegate in which the application writes the ZipEntry content for the named entry.

Zip64Option
Options for using ZIP64 extensions when saving zip archives.

ZipEntry
Represents a single entry in a ZipFile. Typically, applications get a ZipEntry by enumerating the entries within a ZipFile, or by adding an entry to a ZipFile.

ZipEntrySource
An enum that specifies the source of the ZipEntry.

ZipEntryTimestamp
An enum that specifies the type of timestamp available on the ZipEntry.

ZipErrorAction
An enum providing the options when an error occurs during opening or reading of a file or directory that is being saved to a zip file.

ZipErrorEventArgs
Provides information about the an error that occurred while zipping.

ZipException
Base class for all exceptions defined by and throw by the Zip library.

ZipFile
The ZipFile type represents a zip archive file. This is the main type in the DotNetZip class library. This class reads and writes zip files, as defined in the format for zip described by PKWare. The compression for this implementation is provided by a managed-code version of Zlib, included with DotNetZip in the classes in the Ionic.Zlib namespace.

ZipInputStream
Provides a stream metaphor for reading zip files.

ZipOutputStream
Provides a stream metaphor for generating zip files.

ZipProgressEventArgs
Provides information about the progress of a save, read, or extract operation. This is a base class; you will probably use one of the classes derived from this one.

ZipProgressEventType
In an EventArgs type, indicates which sort of progress event is being reported.