C# Class Renci.SshNet.Messages.Authentication.RequestMessagePassword

Represents "password" SSH_MSG_USERAUTH_REQUEST message.
Inheritance: RequestMessage
ファイルを表示 Open project: sshnet/SSH.NET

Public Methods

Method Description
RequestMessagePassword ( ServiceName serviceName, string username, byte password )

Initializes a new instance of the RequestMessagePassword class.

RequestMessagePassword ( ServiceName serviceName, string username, byte password, byte newPassword )

Initializes a new instance of the RequestMessagePassword class.

Protected Methods

Method Description
SaveData ( ) : void

Called when type specific data need to be saved.

Method Details

RequestMessagePassword() public method

Initializes a new instance of the RequestMessagePassword class.
public RequestMessagePassword ( ServiceName serviceName, string username, byte password )
serviceName ServiceName Name of the service.
username string Authentication username.
password byte Authentication password.

RequestMessagePassword() public method

Initializes a new instance of the RequestMessagePassword class.
public RequestMessagePassword ( ServiceName serviceName, string username, byte password, byte newPassword )
serviceName ServiceName Name of the service.
username string Authentication username.
password byte Authentication password.
newPassword byte New authentication password.

SaveData() protected method

Called when type specific data need to be saved.
protected SaveData ( ) : void
return void