Click or drag to resize

ConnectionInfo(String, Int32, String, ProxyTypes, String, Int32, String, String, AuthenticationMethod) Constructor

Initializes a new instance of the ConnectionInfo class.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public ConnectionInfo(
	string host,
	int port,
	string username,
	ProxyTypes proxyType,
	string proxyHost,
	int proxyPort,
	string proxyUsername,
	string proxyPassword,
	params AuthenticationMethod[] authenticationMethods
)

Parameters

host  String
Connection host.
port  Int32
Connection port.
username  String
Connection username.
proxyType  ProxyTypes
Type of the proxy.
proxyHost  String
The proxy host.
proxyPort  Int32
The proxy port.
proxyUsername  String
The proxy username.
proxyPassword  String
The proxy password.
authenticationMethods  AuthenticationMethod
The authentication methods.
Exceptions
ExceptionCondition
ArgumentExceptionhost
ArgumentOutOfRangeExceptionproxyPort
ArgumentExceptionhost is invalid, or username is null or contains whitespace characters.
ArgumentOutOfRangeExceptionport is not within MinPort and MaxPort.
ArgumentExceptionhost is invalid, or username is null or contains whitespace characters.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also