Read the known hosts file to obtain the host public keys.
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public void LoadKnownHosts( Stream knownHostStream ) |
Visual Basic |
---|
Public Sub LoadKnownHosts ( _ knownHostStream As Stream _ ) |
Visual C++ |
---|
public: void LoadKnownHosts( Stream^ knownHostStream ) |
Parameters
- knownHostStream
- Type: System.IO..::..Stream
Stream containing known hosts.
Remarks
Contents must be in the standard known_hosts file format. The hosts
are added to the current list.