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

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

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

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

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

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

Releases unmanaged and - optionally - managed resources

Приватные методы

Метод Описание
AuthenticationMethod_PasswordExpired ( object sender, AuthenticationPasswordChangeEventArgs e ) : void

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

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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

PasswordConnectionInfo() публичный метод

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