C# 클래스 Hawkeye.HawkeyeApplication

The root class representing the Hawkeye Application.
파일 보기 프로젝트 열기: odalet/Hawkeye2

공개 메소드들

메소드 설명
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