Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / HostKeyReceivedEventArgs Class
Members


In This Topic
    HostKeyReceivedEventArgs Class
    In This Topic
    Provides information on a server's public key when it is received and allows to accept or reject the key.
    Syntax
    'Declaration
     
    Public Class HostKeyReceivedEventArgs 
       Inherits SSHEventArgs
    'Usage
     
    Dim instance As HostKeyReceivedEventArgs
    public class HostKeyReceivedEventArgs : SSHEventArgs 
    Example
    Inheritance Hierarchy

    System.Object
       System.EventArgs
          Xceed.SSH.Client.SSHEventArgs
             Xceed.SSH.Client.HostKeyReceivedEventArgs

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the HostKeyReceivedEventArgs argument class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a System.Boolean value that indicates whether the server's public key should be accepted or rejected by the client. Default is true.  
    Public PropertyGets a System.Byte array that represents the server's raw public key.  
    Public PropertyGets a System.Int32 that represents the length, in bits, of the public key that the raw host key data represents.  
    Public PropertyGets a System.Byte array that represents the server's public key, computed into a MD5 hash value.  
    Public PropertyGets a System.String that represents the server's public key, computed into a MD5 hash value.  
    Public Property  
    Public Property  
    Public PropertyGets a System.String that represents the algorithm used to compute the server's public key.  
    Public PropertyGets a ISSHPublicKeyAlgorithm object that represents the algorithm used to compute the server's public key.  
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also