Table of Contents

Enum ZipProgressEventType

Namespace
Ionic.Zip
Assembly
SunamoDotNetZip.dll

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

public enum ZipProgressEventType
Extension Methods

Fields

Adding_AfterAddEntry = 1

Indicates that an individual entry in the archive has been added.

Adding_Completed = 2

Indicates that a Add() operation has completed.

Adding_Started = 0

Indicates that a Add() operation has started.

Error_Saving = 23

Indicates that an error has occurred while saving a zip file. This generally means the file cannot be opened, because it has been removed, or because it is locked by another process. It can also mean that the file cannot be Read, because of a range lock conflict.

Extracting_AfterExtractAll = 22

Indicates that an ExtractAll operation has completed.

Extracting_AfterExtractEntry = 18

Indicates that an entry has just been extracted.

Extracting_BeforeExtractAll = 21

Indicates that an ExtractAll operation is about to begin.

Extracting_BeforeExtractEntry = 17

Indicates that an entry is about to be extracted.

Extracting_EntryBytesWritten = 20

The given event is reporting the number of bytes written so far for the current entry during an Extract() operation.

Extracting_ExtractEntryWouldOverwrite = 19

Indicates that extraction of an entry would overwrite an existing filesystem file. You must use ExtractExistingFileAction.InvokeExtractProgressEvent in the call to ZipEntry.Extract() in order to receive this event.

Reading_AfterReadEntry = 5

Indicates that an individual entry in the archive has just been read.

Reading_ArchiveBytesRead = 7

The given event reports the number of bytes read so far during a Read() operation.

Reading_BeforeReadEntry = 4

Indicates that an individual entry in the archive is about to be read.

Reading_Completed = 6

Indicates that a Read() operation has completed.

Reading_Started = 3

Indicates that a Read() operation has started.

Saving_AfterCompileSelfExtractor = 15

Indicates that the self-extracting archive has been compiled during a Save() operation.

Saving_AfterRenameTempArchive = 14

Indicates that the temporary file is has just been renamed to the final archive name during a Save() operation.

Saving_AfterSaveTempArchive = 12

Indicates that the zip archive has been created in a temporary location during a Save() operation.

Saving_AfterWriteEntry = 10

Indicates that an individual entry in the archive has just been saved.

Saving_BeforeRenameTempArchive = 13

Indicates that the temporary file is about to be renamed to the final archive name during a Save() operation.

Saving_BeforeWriteEntry = 9

Indicates that an individual entry in the archive is about to be written.

Saving_Completed = 11

Indicates that a Save() operation has completed.

Saving_EntryBytesRead = 16

The given event is reporting the number of source bytes that have run through the compressor so far during a Save() operation.

Saving_Started = 8

Indicates that a Save() operation has started.

Remarks

There are events for reading, events for saving, and events for extracting. This enumeration allows a single EventArgs type to be sued to describe one of multiple subevents. For example, a SaveProgress event is invoked before, after, and during the saving of a single entry. The value of an enum with this type, specifies which event is being triggered. The same applies to Extraction, Reading and Adding events.