public KeyboardHook() { this.hookThread = null; this.hook = IntPtr.Zero; this.callback = new Win32ApiWrapper.HookIn(LowLevelKeyboardHook); this.generator = new ScreenImageGenerator(); }