Метод | Описание | |
---|---|---|
GetProcessName ( int processId ) : string |
Gets the process name based on its processId.
|
|
GetUserNameForProcess ( |
Gets the name of the user for the process given.
|
|
RunProcess ( string fileName, string arguments, Action |
Starts a new fileName application with no console window created, and waits for its to finish, optionally redirecting its output to the outputCallback specified.
|
|
RunProcess ( string fileName, string arguments, string[]>.Func |
Starts a new fileName application with no console window created, and waits for its to finish, optionally redirecting its output to the outputFunc specified.
|
Метод | Описание | |
---|---|---|
FindUserProcesses ( string domainUser ) : IEnumerable |
||
GetUserNameForSid ( |
Gets the username for the sid given.
|
public static GetProcessName ( int processId ) : string | ||
processId | int | Process Id. |
Результат | string |
public static GetUserNameForProcess ( |
||
process | Process to get username for. | |
Результат | string |
public static RunProcess ( string fileName, string arguments, Action |
||
fileName | string | Path to the application executable. |
arguments | string | Application arguments. Might be |
outputCallback | Action |
Callback that receives process output. Might be |
Результат | int |
public static RunProcess ( string fileName, string arguments, string[]>.Func |
||
fileName | string | Path to the application executable. |
arguments | string | Application arguments. Might be |
outputFunc | string[]>.Func |
/// Function that receives process output, and its output is redirected to the process input stream.
/// Might be |
Результат | int |