Метод | Описание | |
---|---|---|
MyConsole ( ) : System |
Default Constructor
|
|
Start ( string filename, string workingdir ) : void |
Starts "filename" process at "workingdir" directory.
|
|
Start ( string filename, string workingdir, bool redirectinput ) : void |
Starts "filename" process at "workingdir" directory with Standard Output Redirected.
|
|
Start ( string filename, string workingdir, string args ) : void |
Starts "filename" process at "workingdir" directory using "args" arguments.
|
|
Start ( string filename, string workingdir, string args, bool redirectinput ) : void |
Starts "filename" process at "workingdir" directory using "args" arguments.
|
|
Write ( char c ) : bool |
Writes a char to the Input Stream for the Hooked Process.
|
|
Write ( char c, bool Ctrl, bool Shift, bool Alt ) : bool |
Writes a char to the started processes InputStream.
|
|
Write ( string text ) : bool |
Writes a string of text to the started processes InputStream.
|
Метод | Описание | |
---|---|---|
HookConsole ( ) : bool | ||
MyConsole_Exited ( object sender, |
||
MyConsole_OutputDataReceived ( object sender, |
public Start ( string filename, string workingdir ) : void | ||
filename | string | Full path to program |
workingdir | string | Full path to working dir |
Результат | void |
public Start ( string filename, string workingdir, bool redirectinput ) : void | ||
filename | string | Full path to program |
workingdir | string | Full path to working dir |
redirectinput | bool | Bool to use Stanard Input Redirect |
Результат | void |
public Start ( string filename, string workingdir, string args ) : void | ||
filename | string | Full path to program |
workingdir | string | Full path to working dir |
args | string | Arguments to send to the command line. |
Результат | void |
public Start ( string filename, string workingdir, string args, bool redirectinput ) : void | ||
filename | string | Full path to program |
workingdir | string | Full path to working dir |
args | string | Arguments to send to the command line |
redirectinput | bool | To use the Standard Input Redirect |
Результат | void |
public Write ( char c, bool Ctrl, bool Shift, bool Alt ) : bool | ||
c | char | |
Ctrl | bool | |
Shift | bool | |
Alt | bool | |
Результат | bool |
public Write ( string text ) : bool | ||
text | string | Text to send to the Input Stream for the Process |
Результат | bool |