C# Класс Renci.SshNet.KeyboardInteractiveAuthenticationMethod

Provides functionality to perform keyboard interactive authentication.
Наследование: AuthenticationMethod, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Authenticate ( Session session ) : AuthenticationResult

Authenticates the specified session.

Dispose ( ) : void

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

KeyboardInteractiveAuthenticationMethod ( string username ) : System

Initializes a new instance of the KeyboardInteractiveAuthenticationMethod class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Приватные методы

Метод Описание
Session_UserAuthenticationFailureReceived ( object sender, MessageEventArgs e ) : void
Session_UserAuthenticationInformationRequestReceived ( 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

KeyboardInteractiveAuthenticationMethod() публичный Метод

Initializes a new instance of the KeyboardInteractiveAuthenticationMethod class.
is whitespace or null.
public KeyboardInteractiveAuthenticationMethod ( string username ) : System
username string The username.
Результат System