edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

SecureFTPConnectionKnownHosts Property

[SFTP/SCP Only] Manager of the list of known hosts used to authenticate the server.

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public KnownHostsManager KnownHosts { get; }

Property Value

Type: KnownHostsManager
Manager of the list of known hosts used to authenticate the server.
Remarks

This property applies to SFTP only. Use the Protocol property to select the protocol.

This manager is used to set the known_hosts file containing a list of known hosts and their public keys. It is also used to add public keys explicitly.

See Also