C# Класс Binarysharp.MemoryManagement.Helpers.ApplicationFinder

Static helper class providing tools for finding applications.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

FromProcessId() публичный статический Метод

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.
Результат System.Diagnostics.Process

FromProcessName() публичный статический Метод

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.
Результат IEnumerable

FromWindowClassName() публичный статический Метод

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.
Результат IEnumerable

FromWindowHandle() публичный статический Метод

Retrieves a new Process component that created the window.
public static FromWindowHandle ( IntPtr windowHandle ) : Process
windowHandle System.IntPtr A handle to the window.
Результат System.Diagnostics.Process

FromWindowTitle() публичный статический Метод

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.
Результат IEnumerable

FromWindowTitleContains() публичный статический Метод

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.
Результат IEnumerable