Progress Event
Reports the progress of data extraction.
Syntax
public event OnProgressHandler OnProgress; public delegate void OnProgressHandler(object sender, ArchivereaderProgressEventArgs e); public class ArchivereaderProgressEventArgs : EventArgs { public long Processed { get; } public long Total { get; } public long OverallProcessed { get; } public long OverallTotal { get; } public bool Cancel { get; set; } }
Public Event OnProgress As OnProgressHandler Public Delegate Sub OnProgressHandler(sender As Object, e As ArchivereaderProgressEventArgs) Public Class ArchivereaderProgressEventArgs Inherits EventArgs Public ReadOnly Property Processed As Long Public ReadOnly Property Total As Long Public ReadOnly Property OverallProcessed As Long Public ReadOnly Property OverallTotal As Long Public Property Cancel As Boolean End Class
Remarks
Subscribe to this event to be notified about decompression progress.
Processed and Total report the progress of extraction of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.