SecureBlackbox 2020 .NET Edition

Questions / Feedback?

Progress Event

Reports the progress of the decryption operation.

Syntax

public event OnProgressHandler OnProgress;

public delegate void OnProgressHandler(object sender, PgpreaderProgressEventArgs e);

public class PgpreaderProgressEventArgs : EventArgs {
  public long Current { get; }
  public long Total { get; }
  public bool Cancel { get; set; }
}
Public Event OnProgress As OnProgressHandler

Public Delegate Sub OnProgressHandler(sender As Object, e As PgpreaderProgressEventArgs)

Public Class PgpreaderProgressEventArgs Inherits EventArgs
  Public ReadOnly Property Current As Long
  Public ReadOnly Property Total As Long
  Public Property Cancel As Boolean
End Class

Remarks

The component fires this event repeatedly to report the progress of the file extraction operation.

Current indicates the amount of processed data in bytes, and Total is the total number of bytes to be processed. Use Cancel to terminate the extraction process.

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