Discuss this help topic in SecureBlackbox Forum


TElPGPReader     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

This event is fired when TElPGPReader begins to extract a new file.


    event TSBPGPFileExtractionStartEvent OnFileExtractionStart;
    delegate void TSBPGPFileExtractionStartEvent(Object Sender, string Filename, DateTime TimeStamp);

    Event OnFileExtractionStart As TSBPGPFileExtractionStartEvent
    Delegate Sub TSBPGPFileExtractionStartEvent(ByVal Sender As Object, ByVal Filename As String, ByVal TimeStamp As DateTime)

    property OnFileExtractionStart : TSBPGPFileExtractionStartEvent;
    TSBPGPFileExtractionStartEvent = procedure(Sender: TObject; const FileName : string; TimeStamp : TDateTime) of object;

    void get_OnFileExtractionStart(TSBPGPFileExtractionStartEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileExtractionStart(TSBPGPFileExtractionStartEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPFileExtractionStartEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcFilename, int32_t szFilename, int64_t TimeStamp);

    TSBPGPFileExtractionStartEvent|callable|NULL get_OnFileExtractionStart()
    void set_OnFileExtractionStart(TSBPGPFileExtractionStartEvent|callable|NULL $Value)
    callable TSBPGPFileExtractionStartEvent(TObject $Sender, string $Filename, DateTime $TimeStamp)

    TSBPGPFileExtractionStartEvent getOnFileExtractionStart();
    void setOnFileExtractionStart(TSBPGPFileExtractionStartEvent Value);
    TSBPGPFileExtractionStartEvent.Callback OnFileExtractionStart = new TSBPGPFileExtractionStartEvent.Callback() {
        public void TSBPGPFileExtractionStartEventCallback(TObject Sender, String Filename, Date TimeStamp) {


  • FileName - name of the file being extracted.
  • TimeStamp - last modification date of the file being extracted.
  • pcFilename - name of the file being extracted.
  • szFilename - the length of pcFilename.


    This event is fired by TElPGPReader when it is starting extraction of another file from the PGP message.
Values of the CompressionAlgorithm, EncryptionAlgorithm and Protection properties are set after the start of file extraction, thus the best way to check their values is to do it inside the event handler.

See also:     CompressionAlgorithm     EncryptionAlgorithm     Protection     OnCompressed     OnCreateOutputStream     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnProgress     OnSigned    

Discuss this help topic in SecureBlackbox Forum