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
hoststringConnection host.
portintConnection port.
usernamestringConnection username.
proxyTypeProxyTypesType of the proxy.
proxyHoststringThe proxy host.
proxyPortintThe 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
hoststringConnection host.
portintConnection port.
usernamestringConnection username.
proxyTypeProxyTypesType of the proxy.
proxyHoststringThe proxy host.
proxyPortintThe proxy port.
proxyUsernamestringThe 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
hoststringConnection host.
portintConnection port.
usernamestringConnection username.
proxyTypeProxyTypesType of the proxy.
proxyHoststringThe proxy host.
proxyPortintThe proxy port.
proxyUsernamestringThe proxy username.
proxyPasswordstringThe 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
hoststringConnection host.
usernamestringConnection username.
proxyTypeProxyTypesType of the proxy.
proxyHoststringThe proxy host.
proxyPortintThe 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
hoststringConnection host.
usernamestringConnection username.
proxyTypeProxyTypesType of the proxy.
proxyHoststringThe proxy host.
proxyPortintThe proxy port.
proxyUsernamestringThe 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
hoststringConnection host.
usernamestringConnection username.
proxyTypeProxyTypesType of the proxy.
proxyHoststringThe proxy host.
proxyPortintThe proxy port.
proxyUsernamestringThe proxy username.
proxyPasswordstringThe 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
disposingbooltrue 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