Progress Event
Reports the progress of the decryption operation.
Syntax
typedef struct { __int64 Current; __int64 Total; bool Cancel; } TsbxPGPWriterProgressEventParams; typedef void __fastcall (__closure *TsbxPGPWriterProgressEvent)(System::TObject* Sender, TsbxPGPWriterProgressEventParams *e); __property TsbxPGPWriterProgressEvent OnProgress = { read=FOnProgress, write=FOnProgress };
Remarks
The component fires this event repeatedly to report the progress of the file protection 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 protection process.