H.InputSimulator 1.2.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package H.InputSimulator --version 1.2.4                
NuGet\Install-Package H.InputSimulator -Version 1.2.4                
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="H.InputSimulator" Version="1.2.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add H.InputSimulator --version 1.2.4                
#r "nuget: H.InputSimulator, 1.2.4"                
#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 H.InputSimulator as a Cake Addin
#addin nuget:?package=H.InputSimulator&version=1.2.4

// Install H.InputSimulator as a Cake Tool
#tool nuget:?package=H.InputSimulator&version=1.2.4                


Language License Requirements Build Status

Allows you to simulate global mouse and keyboard events. Features:

  • Supports scan codes and multi-language input.
  • Supports WPF/WinForms/Console windows apps.
  • Supports .NET Standard, .Net Core and .Net 5.

Supported OS:

  • Windows



Install-Package H.InputSimulator



new InputSimulator().Keyboard
    .ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_A)
    .ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_C)
    .ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_V);


new InputSimulator().Keyboard
    .ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.VK_E);


new InputSimulator().Keyboard
    .ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.VK_R)
    .TextEntry("These are your orders if you choose to accept them...")
    .TextEntry("This message will self destruct in 5 seconds.")
    .ModifiedKeyStroke(VirtualKeyCode.MENU, VirtualKeyCode.F4)


new InputSimulator().Keyboard
    .ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.VK_R)
    .MoveMouseToPositionOnVirtualDesktop(65535 / 2, 65535 / 2)


Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETStandard 1.1

  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on H.InputSimulator:

Package Downloads

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


Allows you to send keyboard events to system.


A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include Prior® & Zeiss® & all devices supported by Micromanager 2.0 and python-microscope.


C# Framework for Windows applications automated testing.


C# Framework for Windows applications automated testing.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on H.InputSimulator:

Repository Stars
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 - UI Automation Testing Tools For Genshin Impact
(Windows) Steam Deck Tools - Fan, Overlay, Power Control and Steam Controller for Windows
Explorer Tab Utility: Force new windows to tabs. Streamline navigation!
Version Downloads Last updated
1.4.2 349 7/4/2024
1.4.1 25,253 10/16/2023
1.4.0 6,570 7/14/2023
1.3.0 11,051 8/1/2022
1.2.6 3,305 3/27/2022
1.2.5 1,528 3/23/2022
1.2.4 1,478 3/23/2022
1.2.3 1,938 2/15/2022
1.2.1 3,967 10/26/2021
1.1.0 5,458 1/20/2021
1.0.9 1,536 1/20/2021
1.0.8 1,608 1/20/2021

⭐ Last 10 features:
- feat: Added net5/net6 targets. Added SupportedOSPlatform attributes. 2022-03-23
- feat: Updated min requirements to .Net 4.5.1. 2022-02-15
- feat: Added README to NuGet package. To net 6.0. 2021-10-26
- feat: Added tests. 2021-01-20
- feat: Added library code. 2021-01-20
- feat: Updated description. 2021-01-20

🐞 Last 10 bug fixes: