SecureBlackbox 2020 .NET Edition

Questions / Feedback?

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.

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