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 )
inline static
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
static private
◆ SID_STopLevelBrowser
readonly Guid Plugin.SystemUtility.SID_STopLevelBrowser
static private
Initial value: = new Guid(
"4C96BE40-915C-11CF-99D3-00AA004AE837"
)
◆ SVGIO_BACKGROUND
const int Plugin.SystemUtility.SVGIO_BACKGROUND = 0
static private
◆ SW_SHOWNORMAL
const int Plugin.SystemUtility.SW_SHOWNORMAL = 1
static private
◆ SWC_DESKTOP
const int Plugin.SystemUtility.SWC_DESKTOP = 8
static private
◆ SWFO_NEEDDISPATCH
const int Plugin.SystemUtility.SWFO_NEEDDISPATCH = 1
static private
The documentation for this class was generated from the following file:
/Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/Uacbypass/SystemUtility.cs