edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Write the known hosts to file, together with their public keys, in the standard known_hosts format.

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

Syntax

C#
public void WriteKnownHosts(
	string filename
)
Visual Basic
Public Sub WriteKnownHosts ( _
	filename As String _
)
Visual C++
public:
void WriteKnownHosts(
	String^ filename
)

Parameters

filename
Type: System..::..String
path of the file to write the known hosts list to

See Also