Globally detecting mouse clicks.

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rawinput-sharp

    C# wrapper library for Raw Input

  • pinvoke

    Discontinued A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.

    Hooks are a low-level Win 32 API and are not directly exposed from the BCL, so you either need to write your own P/Invoke code (maybe using something like

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • globalmousekeyhook

    This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.

    I suggest getting inspired or using something ready-made like: (this is the first library that I found, maybe there is something better)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts