C# Class Gwupe.Common.OsUtils

Show file Open project: gwupe/Gwupe

Public Properties

Property Type Description
WM_SHOWGWUPE int
WM_SHUTDOWNGWUPE int
WM_UPGRADEGWUPE int

Public Methods

Method Description
GetMainModuleFilepath ( int processId ) : string
GetMyDoppleGangerProcess ( ) : Process
GetMyProcess ( String processName, String pathRegex = null, String path = null ) : Process
GetProcessOwner ( int processId ) : string

Private Methods

Method Description
PostMessage ( IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam ) : bool
RegisterWindowMessage ( string message ) : int

Method Details

GetMainModuleFilepath() public static method

public static GetMainModuleFilepath ( int processId ) : string
processId int
return string

GetMyDoppleGangerProcess() public static method

public static GetMyDoppleGangerProcess ( ) : Process
return System.Diagnostics.Process

GetMyProcess() public static method

public static GetMyProcess ( String processName, String pathRegex = null, String path = null ) : Process
processName String
pathRegex String
path String
return System.Diagnostics.Process

GetProcessOwner() public static method

public static GetProcessOwner ( int processId ) : string
processId int
return string

Property Details

WM_SHOWGWUPE public static property

public static int WM_SHOWGWUPE
return int

WM_SHUTDOWNGWUPE public static property

public static int WM_SHUTDOWNGWUPE
return int

WM_UPGRADEGWUPE public static property

public static int WM_UPGRADEGWUPE
return int