C# Класс Hawkeye.HawkeyeApplication

The root class representing the Hawkeye Application.
Показать файл Открыть проект

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

Метод Описание
Attach ( IntPtr targetWindowHandle, IntPtr hawkeyeWindowHandle ) : void

Attaches the (injected) Hawkeye application to the specified target window (and destroys the original Hawkeye window).

CanInject ( IWindowInfo info ) : bool

Determines whether Hawkeye can be injected given the specified window info.

Close ( ) : void

Operations that should be realized before we close Hawkeye.

Inject ( IWindowInfo info ) : void

Injects the Hawkeye application into the process owning the specified window.

Run ( ) : void

Runs the Hawkeye application.

Use this method to run Hawkeye in its own process.

Run ( IntPtr windowToSpy, IntPtr windowToKill ) : void

Runs the Hawkeye application.

Use this method to run Hawkeye in its own process.

Приватные методы

Метод Описание
HawkeyeApplication ( ) : System

Initializes the HawkeyeApplication class.

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

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

Attaches the (injected) Hawkeye application to the specified target window (and destroys the original Hawkeye window).
public static Attach ( IntPtr targetWindowHandle, IntPtr hawkeyeWindowHandle ) : void
targetWindowHandle System.IntPtr The target window.
hawkeyeWindowHandle System.IntPtr The original Hawkeye window.
Результат void

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

Determines whether Hawkeye can be injected given the specified window info.
public static CanInject ( IWindowInfo info ) : bool
info IWindowInfo The window info.
Результат bool

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

Operations that should be realized before we close Hawkeye.
public static Close ( ) : void
Результат void

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

Injects the Hawkeye application into the process owning the specified window.
public static Inject ( IWindowInfo info ) : void
info IWindowInfo The target window information.
Результат void

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

Runs the Hawkeye application.
Use this method to run Hawkeye in its own process.
public static Run ( ) : void
Результат void

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

Runs the Hawkeye application.
Use this method to run Hawkeye in its own process.
public static Run ( IntPtr windowToSpy, IntPtr windowToKill ) : void
windowToSpy System.IntPtr The window to spy.
windowToKill System.IntPtr The window to kill.
Результат void