Click or drag to resize

PasswordAuthenticationMethod(String, String) Constructor

Initializes a new instance of the PasswordAuthenticationMethod class.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public PasswordAuthenticationMethod(
	string username,
	string password
)

Parameters

username  String
The username.
password  String
The password.
Exceptions
ExceptionCondition
ArgumentExceptionusername is whitespace or null.
ArgumentExceptionpassword is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also