C# 클래스 Renci.SshNet.PasswordAuthenticationMethod

Provides functionality to perform password authentication.
상속: AuthenticationMethod, IDisposable
파일 보기 프로젝트 열기: sshnet/SSH.NET 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( Session session ) : AuthenticationResult

Authenticates the specified session.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

PasswordAuthenticationMethod ( string username, byte password ) : System

Initializes a new instance of the PasswordAuthenticationMethod class.

PasswordAuthenticationMethod ( string username, string password ) : System

Initializes a new instance of the PasswordAuthenticationMethod class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

비공개 메소드들

메소드 설명
Session_UserAuthenticationFailureReceived ( object sender, MessageEventArgs e ) : void
Session_UserAuthenticationPasswordChangeRequiredReceived ( object sender, MessageEventArgs e ) : void
Session_UserAuthenticationSuccessReceived ( object sender, MessageEventArgs e ) : void

메소드 상세

Authenticate() 공개 메소드

Authenticates the specified session.
is null.
public Authenticate ( Session session ) : AuthenticationResult
session Session The session to authenticate.
리턴 AuthenticationResult

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

PasswordAuthenticationMethod() 공개 메소드

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.
리턴 System

PasswordAuthenticationMethod() 공개 메소드

Initializes a new instance of the PasswordAuthenticationMethod class.
is whitespace or null. is null.
public PasswordAuthenticationMethod ( string username, string password ) : System
username string The username.
password string The password.
리턴 System