Click or drag to resize

SftpClient(String, String, String) 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 SftpClient(
	string host,
	string username,
	string password
)

Parameters

host  String
Connection host.
username  String
Authentication username.
password  String
Authentication password.
Exceptions
ExceptionCondition
ArgumentNullExceptionpassword is null.
ArgumentExceptionhost is invalid.

-or-

username is null contains whitespace characters.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also