Click or drag to resize

ScpClient(String, String, PrivateKeyFile) Constructor

Initializes a new instance of the SftpClient class.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public ScpClient(
	string host,
	string username,
	params PrivateKeyFile[] keyFiles
)

Parameters

host  String
Connection host.
username  String
Authentication username.
keyFiles  PrivateKeyFile
Authentication private key file(s) .
Exceptions
ExceptionCondition
ArgumentNullExceptionkeyFiles is null.
ArgumentExceptionhost is invalid, -or- username is null or contains whitespace characters.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also