C# Класс Renci.SshNet.PrivateKeyConnectionInfo

Provides connection information when private key authentication method is used
Наследование: ConnectionInfo, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System

PrivateKeyConnectionInfo() публичный Метод

Initializes a new instance of the PrivateKeyConnectionInfo class.
public PrivateKeyConnectionInfo ( string host, string username ) : System
host string Connection host.
username string Connection username.
Результат System

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System

PrivateKeyConnectionInfo() публичный Метод

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.
Результат System