Click or drag to resize

PasswordConnectionInfo(String, Int32, String, Byte) Constructor

Initializes a new instance of the PasswordConnectionInfo class.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public PasswordConnectionInfo(
	string host,
	int port,
	string username,
	byte[] password
)

Parameters

host  String
Connection host.
port  Int32
Connection port.
username  String
Connection username.
password  Byte
Connection password.
Exceptions
ExceptionCondition
ArgumentNullExceptionpassword is null.
ArgumentExceptionhost is invalid, or username is null or contains whitespace characters.
ArgumentOutOfRangeExceptionport is not within MinPort and MaxPort.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also