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

KnownHostsManagerAddKnownHost(String, Byte) Method

Add a hostname/public key pair to the known hosts data.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void AddKnownHost(
	string host,
	byte[] publicKeyFile
)

Parameters

host  String
hostname
publicKeyFile  Byte
byte array containing the public key for host

See Also