C# 클래스 Renci.SshNet.ConnectionInfo

Represents remote connection information class.
This class is NOT thread-safe. Do not use the same ConnectionInfo with multiple client instances.
상속: IConnectionInfoInternal
파일 보기 프로젝트 열기: sshnet/SSH.NET 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Authenticate void
IConnectionInfoInternal IAuthenticationMethod
IConnectionInfoInternal void

공개 메소드들

메소드 설명
ConnectionInfo ( string host, int port, string username ) : System

Initializes a new instance of the ConnectionInfo class.

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

Initializes a new instance of the ConnectionInfo class.

ConnectionInfo ( string host, string username ) : System

Initializes a new instance of the ConnectionInfo class.

비공개 메소드들

메소드 설명
Authenticate ( ISession session, IServiceFactory serviceFactory ) : void

Authenticates the specified session.

IConnectionInfoInternal ( ) : IAuthenticationMethod
IConnectionInfoInternal ( object sender, MessageEventArgs e ) : void

Signals that an authentication banner message was received from the server.

메소드 상세

ConnectionInfo() 공개 메소드

Initializes a new instance of the ConnectionInfo class.
is null. is null, a zero-length string or contains only whitespace characters. is not within and . is null. No specified.
public ConnectionInfo ( string host, int port, string username ) : System
host string The host.
port int The port.
username string The username.
리턴 System

ConnectionInfo() 공개 메소드

Initializes a new instance of the ConnectionInfo class.
is null. is null, a zero-length string or contains only whitespace characters. is not within and . is not and is null. is not and is not within and . is null. No specified.
public ConnectionInfo ( string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword ) : System
host string Connection host.
port int Connection 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

ConnectionInfo() 공개 메소드

Initializes a new instance of the ConnectionInfo class.
is null. is a zero-length string. is null, a zero-length string or contains only whitespace characters. is null. No specified.
public ConnectionInfo ( string host, string username ) : System
host string The host.
username string The username.
리턴 System