public static void Start(IInputTeller inputTeller) { bool isDebuggerPresent = false; CheckRemoteDebuggerPresent(Process.GetCurrentProcess().Handle, ref isDebuggerPresent); if (!isDebuggerPresent) { _inputTeller = inputTeller; _hookID = SetHook(_proc); } }
public static void Start(IInputTeller inputTeller) { _inputTeller = inputTeller; _hookID = SetHook(_proc); }