Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / HostKeyReceivedEventArgs Class / HostKeyReceivedEventArgs Constructor
ISSHPublicKeyAlgorithm object that represents the algorithm used to compute the server's public key.
System.Byte array that represents the server's raw public key.


In This Topic
    HostKeyReceivedEventArgs Constructor
    In This Topic
    Initializes a new instance of the HostKeyReceivedEventArgs argument class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _
       ByVal hostKey() As Byte _
    )
    'Usage
     
    Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm
    Dim hostKey() As Byte
     
    Dim instance As New HostKeyReceivedEventArgs(publicKeyAlgorithm, hostKey)
    public HostKeyReceivedEventArgs( 
       ISSHPublicKeyAlgorithm publicKeyAlgorithm,
       byte[] hostKey
    )

    Parameters

    publicKeyAlgorithm
    ISSHPublicKeyAlgorithm object that represents the algorithm used to compute the server's public key.
    hostKey
    System.Byte array that represents the server's raw public key.
    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