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

Provides connection information when keyboard interactive authentication method is used
Наследование: ConnectionInfo, IDisposable
Показать файл Открыть проект Примеры использования класса

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

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

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

KeyboardInteractiveConnectionInfo ( string host, int port, string username ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, string username ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

KeyboardInteractiveConnectionInfo ( string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.

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

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

Releases unmanaged and - optionally - managed resources

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

Метод Описание
AuthenticationMethod_AuthenticationPrompt ( object sender, AuthenticationPromptEventArgs e ) : void

Описание методов

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

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, int port, string username ) : System
host string The host.
port int The port.
username string The username.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System
host string Connection host.
port int Connection port.
username string Connection username.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System
host string Connection host.
port int Connection port.
username string Connection username.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System
host string Connection host.
port int Connection port.
username string Connection username.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
proxyPassword string The proxy password.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, string username ) : System
host string The host.
username string The username.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System
host string Connection host.
username string Connection username.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System
host string Connection host.
username string Connection username.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
Результат System

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

Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo ( string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System
host string Connection host.
username string Connection username.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
proxyPassword string The proxy password.
Результат System