KnownHostsManagerAdd Method
Add the hostname along with its public key to the hashtable
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public void Add(
string hosts,
PublicKey key
)
Public Sub Add (
hosts As String,
key As PublicKey
)
public:
void Add(
String^ hosts,
PublicKey^ key
)
member Add :
hosts : string *
key : PublicKey -> unit
Parameters
- hosts String
- comma separated list of hostnames
- key PublicKey
- public key
The hostnames can be a single hostname, or a comma separated string
of hostnames and ip addresses