Opens an SSH channel of the specified type.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Function OpenChannel ( _
	type As SshChannelType, _
	bufferSize As Integer _
) As SshChannel
C#
public SshChannel OpenChannel(
	SshChannelType type,
	int bufferSize
)

Parameters

type
Type: Rebex.Net..::..SshChannelType
Channel type.
bufferSize
Type: System..::..Int32
Buffer size.

Return Value

SSH channel.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also