PowerTCP SSH and SFTP for .NET
OnHostKey Method




A HostKeyEventArgs that contains the event data.
Raises the HostKey event.
Syntax
'Declaration
 
Public Overridable Sub OnHostKey( _
   ByVal e As HostKeyEventArgs _
) 
'Usage
 
Dim instance As SshConnection
Dim e As HostKeyEventArgs
 
instance.OnHostKey(e)
public virtual void OnHostKey( 
   HostKeyEventArgs e
)
public: virtual void OnHostKey( 
   HostKeyEventArgs* e
) 
public:
virtual void OnHostKey( 
   HostKeyEventArgs^ e
) 

Parameters

e
A HostKeyEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.

Note to Inheritors: When overriding OnHostKey in a derived class, be sure to call the base class OnHostKey method so that registered delegates receive the event.

See the ComponentBase.SynchronizingObject property for important information on updating UI controls from within derived classes.

See Also

Reference

SshConnection Class
SshConnection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic