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

KnownHostsManagerAdd Method

Add the hostname along with its public key to the hashtable

Definition

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

Parameters

hosts  String
comma separated list of hostnames
key  PublicKey
public key

Remarks

The hostnames can be a single hostname, or a comma separated string of hostnames and ip addresses

See Also