edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

KnownHostsManagerGetPublicKey Method

Get the public key for this hostname/algorithm.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public PublicKey GetPublicKey(
	string host,
	string algorithm
)

Parameters

host  String
hostname or ip address
algorithm  String
algorithm name

Return Value

PublicKey
host's public key, or null if not registered

See Also