SevenZipArchiveEntry.CompressionProgressed

SevenZipArchiveEntry.CompressionProgressed event

Raises when a portion of raw stream compressed.

public event EventHandler<ProgressEventArgs> CompressionProgressed;

Remarks

Event sender is an SevenZipArchiveEntry instance.

Does not invoke in multi-threaded mode for LZMA2 entries.

Examples

archive.Entries[0].CompressionProgressed += (s, e) => { int percent = (int)((100 * (long)e.ProceededBytes) / entrySourceStream.Length); };

See Also