SecureBlackbox 2020 .NET Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]