EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSimpleSSHClient.OnKeyValidate

TElSimpleSSHClient     See also    


 

This event if fired when server's public key is received and must be validated.

 
 

Declaration

[C#]
    event TSSHKeyValidateEvent OnKeyValidate;
    delegate void TSSHKeyValidateEvent(object Sender, TElSSHKey ServerKey, ref bool Validate)

[VB.NET]
    Event OnKeyValidate As TSSHKeyValidateEvent
    Delegate Sub TSSHKeyValidateEvent(ByVal Sender As Object, ByVal ServerKey As TElSSHKey, ByRef Validate As Boolean)

[Pascal]
    property OnKeyValidate : TSSHKeyValidateEvent;
    TSSHKeyValidateEvent = procedure (Sender: TObject; ServerKey : TElSSHKey; var Validate : boolean) of object;

[VB6]
    Event IElSimpleSSHClientXEvents.OnKeyValidate(ServerKey As IElSSHKeyX, Valid As Boolean)

[ActiveX]
    void IElSimpleSSHClientXEvents.OnKeyValidate ([in] IElSSHKeyX * ServerKey, [out] VARIANT_BOOL * Valid );

[DLL]
    not implemented;
 
 

Parameters

  • ServerKey - Server's public key
  • Validate (Valid) - Set this value according to result of key validation
 
 

Description

    Handle this event to validate the server's public keys. Usually, known servers are identified by their public keys. Each server has a corresponding public key.

TElSimpleSSHClient will close the connection if you pass the False value in theValidate parameter.

 
 

See also:     TElSSHKey

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation