Progress Event
Reports the progress of data compression.
Syntax
public event OnProgressHandler OnProgress; public delegate void OnProgressHandler(object sender, ArchivewriterProgressEventArgs e); public class ArchivewriterProgressEventArgs : 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 ArchivewriterProgressEventArgs) Public Class ArchivewriterProgressEventArgs 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 compression progress.
Processed and Total report the progress of compression of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.