KnownHostsManagerLoadKnownHosts(String) Method
Read the given known hosts file to obtain the host public keys.
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public void LoadKnownHosts(
string knownHostsFile
)
Public Sub LoadKnownHosts (
knownHostsFile As String
)
public:
void LoadKnownHosts(
String^ knownHostsFile
)
member LoadKnownHosts :
knownHostsFile : string -> unit
Parameters
- knownHostsFile String
- Path of known_hosts file
Contents must be in the standard known_hosts file format. The hosts
are added to the current list.