Ionic.Zip Namespace

DotNetZip

Ionic Zip Library v1.9.1.6 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

DotNetZip is donationware. Please donate.

Declaration Syntax
C# Visual Basic Visual C++
namespace Ionic.Zip
Namespace Ionic.Zip
namespace Ionic.Zip
Types
All Types Classes Enumerations Delegates
Icon Type Description
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.

CountingStream
A decorator stream. It wraps another stream, and performs bookkeeping to keep track of the stream Position.

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.

ReadOptions
A class for collecting the various options that can be used when Reading zip files for extraction or update.

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.

ZipInputStream
Provides a stream metaphor for reading zip files.

ZipOption
An enum representing the values on a three-way toggle switch for various options in the library. This might be used to specify whether to employ a particular text encoding, or to use ZIP64 extensions, or some other option.

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.