C# Class Renci.SshNet.PasswordConnectionInfo

Provides connection information when password authentication method is used
Inheritance: ConnectionInfo, IDisposable
Datei anzeigen Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

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

PasswordConnectionInfo ( string host, int port, string username, byte password ) : System

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, int port, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, int port, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, int port, string username, string password ) : System

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, string username, byte password ) : System

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System

Initializes a new instance of the PasswordConnectionInfo class.

PasswordConnectionInfo ( string host, string username, string password ) : System

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
AuthenticationMethod_PasswordExpired ( object sender, AuthenticationPasswordChangeEventArgs e ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

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.
return void

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
is null. is invalid, or is null or contains only whitespace characters. is not within and .
public PasswordConnectionInfo ( string host, int port, string username, byte password ) : System
host string Connection host.
port int Connection port.
username string Connection username.
password byte Connection password.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, int port, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System
host string Connection host.
port int The port.
username string Connection username.
password byte Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, int port, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System
host string Connection host.
port int The port.
username string Connection username.
password byte Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, int port, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System
host string Connection host.
port int The port.
username string Connection username.
password byte Connection password.
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.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
is null. is invalid, or is null or contains only whitespace characters. is not within and .
public PasswordConnectionInfo ( string host, int port, string username, string password ) : System
host string Connection host.
port int Connection port.
username string Connection username.
password string Connection password.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, int port, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System
host string Connection host.
port int The port.
username string Connection username.
password string Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, int port, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System
host string Connection host.
port int The port.
username string Connection username.
password string Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, byte password ) : System
host string Connection host.
username string Connection username.
password byte Connection password.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System
host string Connection host.
username string Connection username.
password byte Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System
host string Connection host.
username string Connection username.
password byte Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, byte password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System
host string Connection host.
username string Connection username.
password byte Connection password.
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.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
is null. is invalid, or is null or contains only whitespace characters.
public PasswordConnectionInfo ( string host, string username, string password ) : System
host string Connection host.
username string Connection username.
password string Connection password.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort ) : System
host string Connection host.
username string Connection username.
password string Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername ) : System
host string Connection host.
username string Connection username.
password string Connection password.
proxyType ProxyTypes Type of the proxy.
proxyHost string The proxy host.
proxyPort int The proxy port.
proxyUsername string The proxy username.
return System

PasswordConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PasswordConnectionInfo ( string host, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System
host string Connection host.
username string Connection username.
password string Connection password.
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.
return System