The SshChannel type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Closes the current channel.
| |
Dispose |
Implementation of IDisposable.Dispose()
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetAvailable |
Gets the number of bytes available in the receive buffer.
If no data is available, the method will process any pending incoming packets.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PassEnvironmentVariable |
Passes an environment variable to the shell/command to be started later.
| |
Poll |
Determines the status of the socket.
| |
Receive |
Receives data send by the server through this channel.
| |
RequestExec |
Requests an execution of the specified command.
| |
RequestPseudoTerminal()()()() |
Requests an 80x25 vt100 pseudo-terminal.
| |
RequestPseudoTerminal(String, Int32, Int32) |
Requests a pseudo-terminal.
| |
RequestShell |
Requests a shell.
| |
RequestSubsystem |
Requests a specified subsystem.
| |
Send |
Sends data to the server through this channel.
| |
SendBreak |
Sends a break request to the server. This may or may not have any effect.
| |
SendEof |
Sends EOF (end-of-file) indicator to the server. No further data should be sent after this.
| |
SetTerminalSize |
Sets a new terminal size.
| |
Shutdown |
Closes the current channel and does not wait for closure confirmation.
| |
ToSocket |
Creates an ISocket representation of this channel.
| |
ToString |
Returns a string representation of this channel.
(Overrides Object..::..ToString()()()().) |