ArchiveLoadOptions.EntryExtractionProgressed

ArchiveLoadOptions.EntryExtractionProgressed property

Ottiene o imposta il delegato richiamato quando alcuni byte sono stati estratti.

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

Osservazioni

Il mittente dell’evento è ilArchiveEntry istanza in cui è in corso l’estrazione.

Esempi

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

Guarda anche