Xeno-rat
Loading...
Searching...
No Matches
Plugin.SystemUtility Class Reference
Collaboration diagram for Plugin.SystemUtility:

Classes

class  CShellWindows
 
interface  IDispatch
 
interface  IServiceProvider
 
interface  IShellBrowser
 
interface  IShellDispatch2
 
interface  IShellFolderViewDual
 
interface  IShellView
 
interface  IShellWindows
 

Static Public Member Functions

static void ExecuteProcessUnElevated (string process, string args, string currentDirectory)
 Executes a process without elevation.
 

Static Private Attributes

const int CSIDL_Desktop = 0
 
const int SWC_DESKTOP = 8
 
const int SWFO_NEEDDISPATCH = 1
 
const int SW_SHOWNORMAL = 1
 
const int SVGIO_BACKGROUND = 0
 
static readonly Guid SID_STopLevelBrowser
 

Member Function Documentation

◆ ExecuteProcessUnElevated()

static void Plugin.SystemUtility.ExecuteProcessUnElevated ( string process,
string args,
string currentDirectory )
inlinestatic

Executes a process without elevation.

Parameters
processThe path to the process to be executed.
argsThe arguments to be passed to the process.
currentDirectoryThe 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.

Here is the caller graph for this function:

Member Data Documentation

◆ 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: