CompressionProgressed

SevenZipArchiveEntry.CompressionProgressed event

Raises when a portion of raw stream compressed.

public event EventHandler<ProgressEventArgs> CompressionProgressed;

Remarks

Event sender is an SevenZipArchiveEntry instance.

Examples

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

See Also