WinEventHook 0.3.6

A managed wrapper over SetWinEventHook and UnhookWinEvent.

Install-Package WinEventHook -Version 0.3.6
dotnet add package WinEventHook --version 0.3.6
<PackageReference Include="WinEventHook" Version="0.3.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinEventHook --version 0.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WinEventHook, 0.3.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WinEventHook as a Cake Addin
#addin nuget:?package=WinEventHook&version=0.3.6

// Install WinEventHook as a Cake Tool
#tool nuget:?package=WinEventHook&version=0.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WinEventHook

nuget badge Unlicense

A managed wrapper over SetWinEventHook and UnhookWinEvent.

Installation

To install with NuGet use the following command in the Packet Manager Console:

Install-Package WinEventHook

Usage

Prints all events to the console:

using var hook = new WindowEventHook();
hook.EventReceived += (s, e) =>
    Console.WriteLine(Enum.GetName(typeof(WindowEvent), e.EventType));
hook.HookGlobal();
Console.Read();

Note: Your application needs a message loop to receive events.

WinEventHook

nuget badge Unlicense

A managed wrapper over SetWinEventHook and UnhookWinEvent.

Installation

To install with NuGet use the following command in the Packet Manager Console:

Install-Package WinEventHook

Usage

Prints all events to the console:

using var hook = new WindowEventHook();
hook.EventReceived += (s, e) =>
    Console.WriteLine(Enum.GetName(typeof(WindowEvent), e.EventType));
hook.HookGlobal();
Console.Read();

Note: Your application needs a message loop to receive events.

  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.3.6 799 4/1/2021
0.3.5 167 2/19/2021
0.3.4 65 2/5/2021
0.3.3 58 2/5/2021
0.3.2 66 2/5/2021
0.3.1 76 2/5/2021
0.3.0 73 2/5/2021
0.2.0 172 10/16/2020
0.1.0 138 10/16/2020