ShellCommandEventArgs Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9313)
Provides data for the ShellCommand event.
Syntax
public class ShellCommandEventArgs : EventArgs
Inherited Members
Properties
| Name | Description |
|---|---|
| Action | Gets or sets a delegate to run the specified command. |
| Arguments | Gets the arguments of the command to be executed. |
| Command | Gets the name of the command to be executed. |
| ExitCode | Gets or sets the exit code. Only used for commands processed inside the event handler. |
| RawArguments | Gets the arguments of the command in raw unparsed format. |
| Session | Gets server session. |
| SubsystemName | Returns subsystem name (or null if using the default shell subsystem). |
| User | User on behalf of whom the command is being executed. |
Methods
| Name | Description |
|---|---|
| Write(Object) | Writes the text representation of the specified object to the console. |
| Write(String, Object[]) | Writes the text representation of the specified array of objects to the remote console using the specified format information. |
| WriteLine() | Writes an end-of-line sequence to the remote console. |
| WriteLine(Object) | Writes the text representation of the specified object to the console, followed by an end-of-line sequence. |
| WriteLine(String, Object[]) | Writes the text representation of the specified array of objects to the remote console using the specified format information, followed by an end-of-line sequence. |