|
static void | ExecuteProcessUnElevated (string process, string args, string currentDirectory) |
| Executes a process without elevation.
|
|
◆ ExecuteProcessUnElevated()
static void Plugin.SystemUtility.ExecuteProcessUnElevated |
( |
string | process, |
|
|
string | args, |
|
|
string | currentDirectory ) |
|
inlinestatic |
Executes a process without elevation.
- Parameters
-
process | The path to the process to be executed. |
args | The arguments to be passed to the process. |
currentDirectory | The current directory for the process. |
This method executes the specified process with the given args and currentDirectory without requiring elevation. It uses the ShellExecute function to start the process in a non-elevated context.
◆ CSIDL_Desktop
const int Plugin.SystemUtility.CSIDL_Desktop = 0 |
|
staticprivate |
◆ SID_STopLevelBrowser
readonly Guid Plugin.SystemUtility.SID_STopLevelBrowser |
|
staticprivate |
Initial value:= new Guid(
"4C96BE40-915C-11CF-99D3-00AA004AE837"
)
◆ SVGIO_BACKGROUND
const int Plugin.SystemUtility.SVGIO_BACKGROUND = 0 |
|
staticprivate |
◆ SW_SHOWNORMAL
const int Plugin.SystemUtility.SW_SHOWNORMAL = 1 |
|
staticprivate |
◆ SWC_DESKTOP
const int Plugin.SystemUtility.SWC_DESKTOP = 8 |
|
staticprivate |
◆ SWFO_NEEDDISPATCH
const int Plugin.SystemUtility.SWFO_NEEDDISPATCH = 1 |
|
staticprivate |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/Uacbypass/SystemUtility.cs