Class KeyboardInteractiveConnectionInfo
Provides connection information when keyboard interactive authentication method is used.
public class KeyboardInteractiveConnectionInfo : ConnectionInfo, IDisposable
- Inheritance
-
KeyboardInteractiveConnectionInfo
- Implements
- Inherited Members
Constructors
KeyboardInteractiveConnectionInfo(string, int, string)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username)
Parameters
KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)
Parameters
host
stringConnection host.
port
intConnection port.
username
stringConnection username.
proxyType
ProxyTypesType of the proxy.
proxyHost
stringThe proxy host.
proxyPort
intThe proxy port.
KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int, string)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
Parameters
host
stringConnection host.
port
intConnection port.
username
stringConnection username.
proxyType
ProxyTypesType of the proxy.
proxyHost
stringThe proxy host.
proxyPort
intThe proxy port.
proxyUsername
stringThe proxy username.
KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int, string, string)
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)
Parameters
host
stringConnection host.
port
intConnection port.
username
stringConnection username.
proxyType
ProxyTypesType of the proxy.
proxyHost
stringThe proxy host.
proxyPort
intThe proxy port.
proxyUsername
stringThe proxy username.
proxyPassword
stringThe proxy password.
KeyboardInteractiveConnectionInfo(string, string)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username)
Parameters
KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)
Parameters
host
stringConnection host.
username
stringConnection username.
proxyType
ProxyTypesType of the proxy.
proxyHost
stringThe proxy host.
proxyPort
intThe proxy port.
KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int, string)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
Parameters
host
stringConnection host.
username
stringConnection username.
proxyType
ProxyTypesType of the proxy.
proxyHost
stringThe proxy host.
proxyPort
intThe proxy port.
proxyUsername
stringThe proxy username.
KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int, string, string)
Initializes a new instance of the KeyboardInteractiveConnectionInfo class.
public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
Parameters
host
stringConnection host.
username
stringConnection username.
proxyType
ProxyTypesType of the proxy.
proxyHost
stringThe proxy host.
proxyPort
intThe proxy port.
proxyUsername
stringThe proxy username.
proxyPassword
stringThe 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
disposing
booltrue to release both managed and unmanaged resources; false to release only unmanaged resources.
~KeyboardInteractiveConnectionInfo()
Finalizes an instance of the KeyboardInteractiveConnectionInfo class.
protected ~KeyboardInteractiveConnectionInfo()
Events
AuthenticationPrompt
Occurs when server prompts for more authentication information.
public event EventHandler<AuthenticationPromptEventArgs> AuthenticationPrompt