ArchiveLoadOptions.EntryExtractionProgressed

ArchiveLoadOptions.EntryExtractionProgressed property

Gets or sets the delegate invoked when some bytes have been extracted.

public EventHandler<ProgressEventArgs> EntryExtractionProgressed { get; set; }

Remarks

Event sender is the ArchiveEntry instance which extraction is progressed.

Examples

Archive archive = new Archive("archive.zip", 
new ArchiveLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((ArchiveEntry)s).UncompressedSize); } })                 

See Also