Discuss this help topic in SecureBlackbox Forum


TElPGPReader     See also     

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

This event is fired when the TAR archive containing multiple files has to be processed.


    event TSBPGPMultipleFilesFoundEvent OnMultipleFilesFound;
    delegate void TSBPGPMultipleFilesFoundEvent(Object Sender, string TarFilename, ref bool ExtractFiles);

    Event OnMultipleFilesFound As TSBPGPMultipleFilesFoundEvent
    Delegate Sub TSBPGPMultipleFilesFoundEvent(ByVal Sender As Object, ByVal TarFilename As String, ByRef ExtractFiles As Boolean)

    property OnMultipleFilesFound : TSBPGPMultipleFilesFoundEvent;
    TSBPGPMultipleFilesFoundEvent = procedure(Sender: TObject; const TarFilename : string; var ExtractFiles : boolean) of object;

    void get_OnMultipleFilesFound(TSBPGPMultipleFilesFoundEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnMultipleFilesFound(TSBPGPMultipleFilesFoundEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPMultipleFilesFoundEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcTarFilename, int32_t szTarFilename, int8_t &ExtractFiles);

    TSBPGPMultipleFilesFoundEvent|callable|NULL get_OnMultipleFilesFound()
    void set_OnMultipleFilesFound(TSBPGPMultipleFilesFoundEvent|callable|NULL $Value)
    callable TSBPGPMultipleFilesFoundEvent(TObject $Sender, string $TarFilename, bool &$ExtractFiles)

    TSBPGPMultipleFilesFoundEvent getOnMultipleFilesFound();
    void setOnMultipleFilesFound(TSBPGPMultipleFilesFoundEvent Value);
    TSBPGPMultipleFilesFoundEvent.Callback OnMultipleFilesFound = new TSBPGPMultipleFilesFoundEvent.Callback() {
        public void TSBPGPMultipleFilesFoundEventCallback(TObject Sender, String TarFilename, TSBBoolean ExtractFiles) {


  • TarFilename - name of the TAR file.
  • ExtractFiles - specifies, whether to extract packed files.
  • pcTarFilename - name of the TAR file.
  • szTarFilename - the length of pcTarFilename.


    This event is fired when the TAR archive is found inside the encrypted or signed PGP file. The application (and the user) can decide, whether this file should be unpacked and the original files should be extracted. If no handler is assigned, the file will be unpacked.
    If the archive is to be unpacked, OnTemporaryStream event will be fired in order to store the TAR file befure unpacking.

See also:     OnFileExtractionStart     OnProgress     OnTemporaryStream    

Discuss this help topic in SecureBlackbox Forum