ScpClient Constructor (String, Int32, String,  PrivateKeyFile )SSH .NET Client Library Documentation
Initializes a new instance of the SftpClient class.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public ScpClient(
	string host,
	int port,
	string username,
	params PrivateKeyFile[] keyFiles
)

Parameters

host
Type: OnlineSystem String
Connection host.
port
Type: OnlineSystem Int32
Connection port.
username
Type: OnlineSystem String
Authentication username.
keyFiles
Type:  Renci.SshNet PrivateKeyFile 
Authentication private key file(s) .
Exceptions

See Also