Delegate for running custom commands in shell.
Namespace:
Rebex.Net.Servers
Assembly:
Rebex.FileServer (in Rebex.FileServer.dll)
Syntax
Visual Basic |
---|
Public Delegate Function ShellCommand ( _ arguments As String(), _ console As SshConsole _ ) As Integer |
C# |
---|
public delegate int ShellCommand( string[] arguments, SshConsole console ) |
Parameters
- arguments
- Type: array<System..::..String>[]()[][]
The arguments for the custom command.
- console
- Type: Rebex.Net.Servers..::..SshConsole
The SshConsole for communication.