MouseKeyHook 5.7.1

dotnet add package MouseKeyHook --version 5.7.1                
NuGet\Install-Package MouseKeyHook -Version 5.7.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MouseKeyHook" Version="5.7.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MouseKeyHook --version 5.7.1                
#r "nuget: MouseKeyHook, 5.7.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MouseKeyHook as a Cake Addin
#addin nuget:?package=MouseKeyHook&version=5.7.1

// Install MouseKeyHook as a Cake Tool
#tool nuget:?package=MouseKeyHook&version=5.7.1                

This library attaches to windows global hooks, tracks keyboard and mouse clicks and movement and raises common .NET events with KeyEventArgs and MouseEventArgs, so you can easily retrieve any information you need:

     * Mouse coordinates
     * Mouse buttons clicked
     * Mouse wheel scrolls
     * Key presses and releases
     * Special key states
     * [NEW] Key combinations and sequences

     Additionally, there is a possibility to supress certain keyboard or mouse clicks, or detect special key combinations.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net7.0-windows7.0 is compatible.  net8.0-windows was computed. 
.NET Framework net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.
  • net7.0-windows7.0

    • No dependencies.

NuGet packages (22)

Showing the top 5 NuGet packages that depend on MouseKeyHook:

Package Downloads

Revit Plugin Description for xml.Revit.Toolkit.


A .NET library & program for annotating, & editing various microscopy imaging formats using Bioformats supported images. including whole slide, pyramidal & series.


This library makes it possible to inspect any controls properties, events and even the document outline in your Windows Form at runtime. The only thing you have to do is to create an instance of the Inspector class and then run your winform as normal. Press "Ctrl + F8" to activate the inspector and open the control view window which will show all the data from the inspected control. Make sure the window you wanna inspect has focus, hold down "Alt" and hover your mouse over any given control and see the magic come to life.


This is an extension to the globalmousekeyhook and InputSimulator library which allows you to tap keyboard and mouse,to detect and record their activity event when an application is inactive and runs in background.The Windows Input Simulator provides a simple .NET(C#) interface to simulate Keyboard or Mouse input using the Win32 SendInput method.一款类似于按键精灵的模拟键盘和鼠标操作的c#扩展类库.


Package Description

GitHub repositories (22)

Showing the top 5 popular GitHub repositories that depend on MouseKeyHook:

Repository Stars
Capture Screen, Audio, Cursor, Mouse Clicks and Keystrokes
Remote Administration Tool for Windows
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 - UI Automation Testing Tools For Genshin Impact
Unified lighting effects across multiple brands and various games.
🔥小巧、美观的桌面快速启动工具 Small, beautiful desktop quickstart management tool with integrated Everything search
Version Downloads Last updated
5.7.1 35,646 4/10/2023
5.6.0 386,761 1/24/2018
5.6.0-alpha 1,518 1/19/2018
5.5.0 2,781 1/16/2018
5.4.0 72,148 1/8/2016
5.3.0 6,376 6/22/2015
5.1.0 2,500 5/24/2015
5.0.0 2,733 5/12/2015