KnownHostsManagerLoadKnownHosts(Stream) Method
Read the 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(
Stream knownHostStream
)
Public Sub LoadKnownHosts (
knownHostStream As Stream
)
public:
void LoadKnownHosts(
Stream^ knownHostStream
)
member LoadKnownHosts :
knownHostStream : Stream -> unit
Parameters
- knownHostStream Stream
- Stream containing known hosts.
Contents must be in the standard known_hosts file format. The hosts
are added to the current list.