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

KnownHostsManagerAddHostKey Method

Add the key for this host

Definition

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

Parameters

host  String
host name
key  PublicKey
public key

See Also