edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Name of file containing the list of known hosts and their public keys that was most recently loaded.

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public string KnownHostsFile { get; set; }
Visual Basic
Public Property KnownHostsFile As String
	Get
	Set
Visual C++
public:
property String^ KnownHostsFile {
	String^ get ();
	void set (String^ value);
}

Remarks

Setting this property causes the contents of the file to be loaded. The file must in the standard known_hosts format. The hosts are added to the current list. Use ClearKnownHosts()()()() first to clear the internal list before loading.

See Also