C# 클래스 Renci.SshNet.PrivateKeyAuthenticationMethod

Provides functionality to perform private key 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.

PrivateKeyAuthenticationMethod ( string username ) : System

Initializes a new instance of the PrivateKeyAuthenticationMethod class.

보호된 메소드들

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

Releases unmanaged and - optionally - managed resources

비공개 메소드들

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

메소드 상세

Authenticate() 공개 메소드

Authenticates the specified session.
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

PrivateKeyAuthenticationMethod() 공개 메소드

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