The ShellChannel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ShellChannel | Creates an instance of ShellChannel class. |
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the channel gracefully.
| |
| Dispose |
Closes the channel.
| |
| 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.) | |
| GetConnectionState |
Gets a value that indicates whether the ShellChannel is currently connected to a remote host.
| |
| 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.) | |
| HasFlag |
Determines whether the specified option is set.
| |
| KeepAlive |
Sends a keep alive packet (NOOP) to the server.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Poll |
Determines the status of the channel.
| |
| Receive |
Receives the specified amount of data from the remote connection end into a specific location of the receive buffer and using the supplied flags.
| |
| Send |
Sends the specified amount of data to the remote connection end, starting at the indicated location in the data and using the supplied flags.
| |
| SendBreak |
Sends a break request (if supported by the underlying channel).
| |
| SetTerminalSize |
Sets a new terminal size.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Available |
Gets the amount of data that has been received from the remote connection end and is available to be read.
| |
| Connected |
Gets a value that indicates whether the ShellChannel is connected to a remote host as of the last Send or Receive operation.
| |
| ExitCode |
Gets the channel exit status. Returns 0 if not available.
| |
| Options |
Gets channel flags.
| |
| TerminalHeight |
Gets the terminal height.
| |
| TerminalWidth |
Gets the terminal width.
| |
| TreatExtendedDataAsNormal |
Gets or sets a value specifying how to treat extended data.
|