Class KeyboardInteractiveConnectionInfo
- Namespace
- Renci.SshNet
- Assembly
- Renci.SshNet.dll
Provides connection information when keyboard interactive authentication method is used.
public class KeyboardInteractiveConnectionInfo : ConnectionInfo, IDisposableInheritance
Implements
Inherited Members
Constructors
KeyboardInteractiveConnectionInfo(string, string)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username)Parameters
KeyboardInteractiveConnectionInfo(string, int, string)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username)Parameters
KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)Parameters
hoststring-
Connection host.
portint-
Connection port.
usernamestring-
Connection username.
proxyTypeProxyTypes-
Type of the proxy.
proxyHoststring-
The proxy host.
proxyPortint-
The proxy port.
KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int, string)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)Parameters
hoststring-
Connection host.
portint-
Connection port.
usernamestring-
Connection username.
proxyTypeProxyTypes-
Type of the proxy.
proxyHoststring-
The proxy host.
proxyPortint-
The proxy port.
proxyUsernamestring-
The proxy username.
KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)Parameters
hoststring-
Connection host.
usernamestring-
Connection username.
proxyTypeProxyTypes-
Type of the proxy.
proxyHoststring-
The proxy host.
proxyPortint-
The proxy port.
KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int, string)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)Parameters
hoststring-
Connection host.
usernamestring-
Connection username.
proxyTypeProxyTypes-
Type of the proxy.
proxyHoststring-
The proxy host.
proxyPortint-
The proxy port.
proxyUsernamestring-
The proxy username.
KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int, string, string)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)Parameters
hoststring-
Connection host.
usernamestring-
Connection username.
proxyTypeProxyTypes-
Type of the proxy.
proxyHoststring-
The proxy host.
proxyPortint-
The proxy port.
proxyUsernamestring-
The proxy username.
proxyPasswordstring-
The proxy password.
KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int, string, string)
Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)Parameters
hoststring-
Connection host.
portint-
Connection port.
usernamestring-
Connection username.
proxyTypeProxyTypes-
Type of the proxy.
proxyHoststring-
The proxy host.
proxyPortint-
The proxy port.
proxyUsernamestring-
The proxy username.
proxyPasswordstring-
The proxy password.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()Dispose(bool)
Releases unmanaged and - optionally - managed resources.
protected virtual void Dispose(bool disposing)Parameters
disposingbool-
true to release both managed and unmanaged resources; false to release only unmanaged resources.
AuthenticationPrompt
Occurs when server prompts for more authentication information.
public event EventHandler<AuthenticationPromptEventArgs> AuthenticationPrompt