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

KnownHostsManagerWriteKnownHosts Method

Write the known hosts to file, together with their public keys, in the standard known_hosts format.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void WriteKnownHosts(
	string filename
)

Parameters

filename  String
path of the file to write the known hosts list to

See Also