Discuss this help topic in SecureBlackbox Forum

TElPGPReader.OnMultipleFilesFound

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.

Declaration

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

[VB.NET]
    Event OnMultipleFilesFound As TSBPGPMultipleFilesFoundEvent
    Delegate Sub TSBPGPMultipleFilesFoundEvent(ByVal Sender As Object, ByVal TarFilename As String, ByRef ExtractFiles As Boolean)

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

[C++]
    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);

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

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

Parameters

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

Description

    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