Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 |
return | 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 |
return | 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. |
return | 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 |
return | void |
public Write ( char c, bool Ctrl, bool Shift, bool Alt ) : bool | ||
c | char | |
Ctrl | bool | |
Shift | bool | |
Alt | bool | |
return | bool |
public Write ( string text ) : bool | ||
text | string | Text to send to the Input Stream for the Process |
return | bool |