Renci.SshNet.PasswordAuthenticationMethod.PasswordAuthenticationMethod C# (CSharp) Method

PasswordAuthenticationMethod() public method

Initializes a new instance of the PasswordAuthenticationMethod class.
is whitespace or null. is null.
public PasswordAuthenticationMethod ( string username, byte password ) : System
username string The username.
password byte The password.
return System
        public PasswordAuthenticationMethod(string username, byte[] password)
            : base(username)
        {
            if (password == null)
                throw new ArgumentNullException("password");

            _password = password;
            _requestMessage = new RequestMessagePassword(ServiceName.Connection, Username, _password);
        }

Same methods

PasswordAuthenticationMethod::PasswordAuthenticationMethod ( string username, string password ) : System