Xceed .NET Libraries Documentation
GetHostKeyLength Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHHostKeyUtils Class : GetHostKeyLength Method
Syntax
'Declaration
 
Public Shared Function GetHostKeyLength( _
   ByVal publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _
   ByVal hostKey() As Byte _
) As Integer
'Usage
 
Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm
Dim hostKey() As Byte
Dim value As Integer
 
value = SSHHostKeyUtils.GetHostKeyLength(publicKeyAlgorithm, hostKey)
public static int GetHostKeyLength( 
   ISSHPublicKeyAlgorithm publicKeyAlgorithm,
   byte[] hostKey
)

Parameters

publicKeyAlgorithm
hostKey
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

Reference

SSHHostKeyUtils Class
SSHHostKeyUtils Members