Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnFileHash

TElSftpClient     See also     


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


This event is fired when the file hash value was received.

Declaration

[C#]
    event TSBSftpFileHashEvent OnFileHash;
    delegate void TSBSftpFileHashEvent(Object Sender, TElSftpCheckFileReply Reply, ref bool Cont);

[VB.NET]
    Event OnFileHash As TSBSftpFileHashEvent
    Delegate Sub TSBSftpFileHashEvent(ByVal Sender As Object, ByVal Reply As TElSftpCheckFileReply, ByRef Cont As Boolean)

[Pascal]
    property OnFileHash : TSBSftpFileHashEvent;
    TSBSftpFileHashEvent = procedure (Sender: TObject; Reply : TElSftpCheckFileReply; Cont : boolean) of object;

[C++]
    void get_OnFileHash(TSBSftpFileHashEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileHash(TSBSftpFileHashEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpFileHashEvent)(void * _ObjectData, TObjectHandle Sender, TElSftpCheckFileReplyHandle Reply, int8_t &Cont);

[PHP]
    TSBSftpFileHashEvent|callable|NULL get_OnFileHash()
    void set_OnFileHash(TSBSftpFileHashEvent|callable|NULL $Value)
    callable TSBSftpFileHashEvent(TObject $Sender, TElSftpCheckFileReply $Reply, bool &$Cont)

[Java]
    TSBSftpFileHashEvent getOnFileHash();
    void setOnFileHash(TSBSftpFileHashEvent Value);
    TSBSftpFileHashEvent.Callback OnFileHash = new TSBSftpFileHashEvent.Callback() {
        public void TSBSftpFileHashEventCallback(TObject Sender, TElSftpCheckFileReply Reply, TSBBoolean Cont) {
            //...
        }
    }

Parameters

  • Reply - server reply
  • Cont - specifies, whether to fire OnExtendedReply event

Description

    This event is fired by TElSftpClient when the file hash value is received from the server. This event follows calls to RequestFileHash and RequestFileHashByHandle routines.

See also:     RequestFileHash     RequestFileHashByHandle    

Discuss this help topic in SecureBlackbox Forum