edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

KnownHostsManagerLoadKnownHosts(Stream) Method

Read the known hosts file to obtain the host public keys.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void LoadKnownHosts(
	Stream knownHostStream
)

Parameters

knownHostStream  Stream
Stream containing known hosts.

Remarks

Contents must be in the standard known_hosts file format. The hosts are added to the current list.

See Also