SecureBlackbox 2020 .NET Edition

Questions / Feedback?

Progress Event

Reports the data encryption/decryption progress.

Syntax

public event OnProgressHandler OnProgress;

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

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

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

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

Remarks

This event fires periodically during a file encrypt/decrypt operation to report its progress.

Use the Cancel parameter to terminate the encryption/decryption if needed.

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