C# Class Renci.SshNet.PrivateKeyConnectionInfo

Provides connection information when private key authentication method is used
Inheritance: ConnectionInfo, IDisposable
Show file 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.

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

Initializes a new instance of the PrivateKeyConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

PrivateKeyConnectionInfo ( string host, string username ) : System

Initializes a new instance of the PrivateKeyConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

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

Initializes a new instance of the PasswordConnectionInfo class.

PrivateKeyConnectionInfo ( string host, string username, 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

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

PrivateKeyConnectionInfo() public method

Initializes a new instance of the PrivateKeyConnectionInfo class.
public PrivateKeyConnectionInfo ( string host, int port, string username ) : System
host string Connection host.
port int Connection port.
username string Connection username.
return System

PrivateKeyConnectionInfo() public method

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

PrivateKeyConnectionInfo() public method

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

PrivateKeyConnectionInfo() public method

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

PrivateKeyConnectionInfo() public method

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

PrivateKeyConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PrivateKeyConnectionInfo ( 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.
return System

PrivateKeyConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PrivateKeyConnectionInfo ( 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.
return System

PrivateKeyConnectionInfo() public method

Initializes a new instance of the PasswordConnectionInfo class.
public PrivateKeyConnectionInfo ( 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.
return System