Discuss this help topic in SecureBlackbox Forum


TElSimpleSFTPClient     See also     

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

This event is fired when a single authentication attempt is failed


    event TSSHAuthenticationFailedEvent OnAuthenticationFailed;
    delegate void TSSHAuthenticationFailedEvent(Object Sender, int AuthenticationType);

    Event OnAuthenticationFailed As TSSHAuthenticationFailedEvent
    Delegate Sub TSSHAuthenticationFailedEvent(ByVal Sender As Object, ByVal AuthenticationType As Integer)

    property OnAuthenticationFailed: TSSHAuthenticationFailedEvent;
    TSSHAuthenticationFailedEvent = procedure (Sender: TObject; AuthenticationType : integer) of object;

    void get_OnAuthenticationFailed(TSSHAuthenticationFailedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationFailed(TSSHAuthenticationFailedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationFailedEvent)(void * _ObjectData, TObjectHandle Sender, int32_t AuthenticationType);

    TSSHAuthenticationFailedEvent|callable|NULL get_OnAuthenticationFailed()
    void set_OnAuthenticationFailed(TSSHAuthenticationFailedEvent|callable|NULL $Value)
    callable TSSHAuthenticationFailedEvent(TObject $Sender, integer $AuthenticationType)


  • AuthenticationType - The type of authentication that failed


    This event is fired when the single authentication attempt is failed. As SSH may try a number of authentication attempts of different types or with different parameters (as public keys), during one session, this event may be not critical and may not lead to the closing of the connection.

See also:     OnAuthenticationSuccess    

Discuss this help topic in SecureBlackbox Forum