Bzip2SaveOptions.CompressionProgressed

Bzip2SaveOptions.CompressionProgressed event

Raises when a portion of raw stream compressed.

public event EventHandler<ProgressEventArgs> CompressionProgressed;

Remarks

This event won’t be raised when compressing in multithreaded mode.

Examples

settings.CompressionProgressed += (s, e) => { int percent = (int)((100 * e.ProceededBytes) / entrySourceStream.Length); };

See Also