KnownHostsManagerAddKnownHost(String, Byte) Method
Add a hostname/public key pair to the known hosts data.
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public void AddKnownHost(
string host,
byte[] publicKeyFile
)
Public Sub AddKnownHost (
host As String,
publicKeyFile As Byte()
)
public:
void AddKnownHost(
String^ host,
array<unsigned char>^ publicKeyFile
)
member AddKnownHost :
host : string *
publicKeyFile : byte[] -> unit
Parameters
- host String
- hostname
- publicKeyFile Byte
- byte array containing the public key for host