Table of Contents

Delegate EncryptionProgressCallback

Namespace
VisioForge.Core.VideoEncryption
Assembly
VisioForge.Core.dll

Represents a callback method that is invoked to report progress during video encryption or decryption operations. This delegate enables consumers to track the progress of long-running cryptographic operations and update user interfaces or logging systems accordingly.

public delegate void EncryptionProgressCallback(int progress)

Parameters

progress int

The current progress as a percentage value from 0 to 100, where 0 indicates the operation has just started and 100 indicates completion. Values are reported as integers and may not increment smoothly for all operations.

Remarks

This callback is invoked periodically during encryption and decryption operations performed by VisioForge.Core.VideoEncryption.VideoEncryptor and VisioForge.Core.VideoEncryption.VideoDecryptor classes.

The callback is optional; passing null for progress callback parameters will simply skip progress reporting. Implementations of this callback should execute quickly to avoid slowing down the cryptographic operation.