C# Class Binarysharp.MemoryManagement.Helpers.ApplicationFinder

Static helper class providing tools for finding applications.
Afficher le fichier Open project: ZenLulz/MemorySharp

Méthodes publiques

Méthode Description
FromProcessId ( int processId ) : Process

Returns a new Process component, given the identifier of a process.

FromProcessName ( string processName ) : IEnumerable

Creates an collection of new Process components and associates them with all the process resources that share the specified process name.

FromWindowClassName ( string className ) : IEnumerable

Creates a collection of new Process components and associates them with all the process resources that share the specified class name.

FromWindowHandle ( IntPtr windowHandle ) : Process

Retrieves a new Process component that created the window.

FromWindowTitle ( string windowTitle ) : IEnumerable

Creates a collection of new Process components and associates them with all the process resources that share the specified window title.

FromWindowTitleContains ( string windowTitle ) : IEnumerable

Creates a collection of new Process components and associates them with all the process resources that contain the specified window title.

Method Details

FromProcessId() public static méthode

Returns a new Process component, given the identifier of a process.
public static FromProcessId ( int processId ) : Process
processId int The system-unique identifier of a process resource.
Résultat System.Diagnostics.Process

FromProcessName() public static méthode

Creates an collection of new Process components and associates them with all the process resources that share the specified process name.
public static FromProcessName ( string processName ) : IEnumerable
processName string The friendly name of the process.
Résultat IEnumerable

FromWindowClassName() public static méthode

Creates a collection of new Process components and associates them with all the process resources that share the specified class name.
public static FromWindowClassName ( string className ) : IEnumerable
className string The class name string.
Résultat IEnumerable

FromWindowHandle() public static méthode

Retrieves a new Process component that created the window.
public static FromWindowHandle ( IntPtr windowHandle ) : Process
windowHandle System.IntPtr A handle to the window.
Résultat System.Diagnostics.Process

FromWindowTitle() public static méthode

Creates a collection of new Process components and associates them with all the process resources that share the specified window title.
public static FromWindowTitle ( string windowTitle ) : IEnumerable
windowTitle string The window title string.
Résultat IEnumerable

FromWindowTitleContains() public static méthode

Creates a collection of new Process components and associates them with all the process resources that contain the specified window title.
public static FromWindowTitleContains ( string windowTitle ) : IEnumerable
windowTitle string A part a window title string.
Résultat IEnumerable