XarLoadOptions.EntryExtractionProgressed

XarLoadOptions.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 XarFileEntry instance which extraction is progressed.

Examples

XarArchive archive = new XarArchive("archive.xar", 
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })                 

See Also