edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Add the hostname along with its public key to the hashtable

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

Syntax

C#
public void Add(
	string hosts,
	PublicKey key
)
Visual Basic
Public Sub Add ( _
	hosts As String, _
	key As PublicKey _
)
Visual C++
public:
void Add(
	String^ hosts, 
	PublicKey^ key
)

Parameters

hosts
Type: System..::..String
comma separated list of hostnames
key
Type: PublicKey
public key

Remarks

The hostnames can be a single hostname, or a comma separated string of hostnames and ip addresses

See Also