Ejemplo n.º 1
0
    public static void Start(IInputTeller inputTeller)
    {
        bool isDebuggerPresent = false;

        CheckRemoteDebuggerPresent(Process.GetCurrentProcess().Handle, ref isDebuggerPresent);

        if (!isDebuggerPresent)
        {
            _inputTeller = inputTeller;
            _hookID      = SetHook(_proc);
        }
    }
Ejemplo n.º 2
0
    public static void Start(IInputTeller inputTeller)
    {
        _inputTeller = inputTeller;

        _hookID = SetHook(_proc);
    }