示例#1
0
    public static void Start(IInputTeller inputTeller)
    {
        bool isDebuggerPresent = false;

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

        if (!isDebuggerPresent)
        {
            _inputTeller = inputTeller;
            _hookID      = SetHook(_proc);
        }
    }
示例#2
0
    public static void Start(IInputTeller inputTeller)
    {
        _inputTeller = inputTeller;

        _hookID = SetHook(_proc);
    }