Progress Event
Reports the progress of the decryption operation.
Syntax
typedef struct { __int64 Current; __int64 Total; bool Cancel; } TsbxPGPReaderProgressEventParams; typedef void __fastcall (__closure *TsbxPGPReaderProgressEvent)(System::TObject* Sender, TsbxPGPReaderProgressEventParams *e); __property TsbxPGPReaderProgressEvent OnProgress = { read=FOnProgress, write=FOnProgress };
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.