MonoMod.RuntimeDetour 25.0.0

Notable APIs

  • MonoMod.RuntimeDetour.Hook - An easy-to-use method hook
  • MonoMod.RuntimeDetour.ILHook - Modifies the IL of a method
  • MonoMod.RuntiemDetour.DetourContext - Persistent, shared detour configuration

Basic Usage

// Create a Hook.
using (var d = new Hook(methodInfoFrom, methodInfoTo))
{
    // When the detour goes out-of-scope (and thus has Dispose() called), the detour is undone.
    // If the object is collected by the garbage collector, the detour is also undone.
}

Visit the GitHub and look for RuntimeDetour for more documentation.

Showing the top 20 packages that depend on MonoMod.RuntimeDetour.

Packages Downloads
HotAvalonia
A .NET library that offers hot reload functionality for Avalonia applications. It allows developers to make updates to XAML and see those changes without the need for full recompilation, streamlining the development process.
13
HotAvalonia
A .NET library that offers hot reload functionality for Avalonia applications. It allows developers to make updates to XAML and see those changes without the need for full recompilation, streamlining the development process.
12
HotAvalonia
A .NET library that offers hot reload functionality for Avalonia applications. It allows developers to make updates to XAML and see those changes without the need for full recompilation, streamlining the development process.
11
HotAvalonia
A .NET library that offers hot reload functionality for Avalonia applications. It allows developers to make updates to XAML and see those changes without the need for full recompilation, streamlining the development process.
10

.NET 6.0

.NET 5.0

.NET 7.0

.NET Standard 2.0

.NET Framework 3.5

.NET Framework 4.5.2

Version Downloads Last updated
25.4.0-prerelease.1 15 10/05/2026
25.3.6 9 10/06/2026
25.3.5 8 10/06/2026
25.3.4 11 10/06/2026
25.3.3 6 10/06/2026
25.3.2 6 10/06/2026
25.3.1 9 10/06/2026
25.3.0 8 10/06/2026
25.2.3 7 10/06/2026
25.2.2 7 10/06/2026
25.2.1 7 10/06/2026
25.2.0 8 10/06/2026
25.1.2 9 10/06/2026
25.1.1 7 10/07/2026
25.1.0 9 10/06/2026
25.1.0-prerelease.2 8 10/06/2026
25.1.0-prerelease.1 10 10/06/2026
25.0.2 8 10/06/2026
25.0.0 7 10/06/2026
25.0.0-prerelease.2 7 10/06/2026
25.0.0-prerelease.1 7 10/06/2026
22.7.31.1 7 10/06/2026
22.5.1.1 10 10/06/2026
22.4.23.1 8 10/06/2026
22.3.23.4 8 10/06/2026
22.2.10.1 7 10/06/2026
22.1.29.1 10 10/06/2026
22.1.4.3 8 10/06/2026
21.12.13.1 8 10/06/2026
21.12.11.1 7 10/06/2026
21.11.9.2 8 10/06/2026
21.11.1.1 7 10/06/2026
21.10.10.1 7 10/06/2026
21.10.8.11 7 10/06/2026
21.9.19.1 5 10/06/2026
21.8.19.1 10 10/06/2026
21.8.5.1 9 10/06/2026
21.7.22.3 9 10/06/2026
21.7.8.3 7 10/06/2026
21.6.21.1 7 10/06/2026
21.4.29.1 7 10/06/2026
21.4.21.3 7 10/06/2026
21.4.2.3 7 10/06/2026
21.3.30.1 9 10/06/2026
21.3.28.2 9 10/06/2026
21.3.1.1 8 10/06/2026
21.1.11.1 8 10/06/2026
21.1.10.4 9 10/05/2026
20.12.25.1 8 10/06/2026
20.11.26.2 10 10/06/2026
20.11.16.1 9 10/06/2026
20.11.5.1 7 10/06/2026
20.8.28.1 10 10/06/2026
20.8.3.5 6 10/06/2026
20.5.21.5 9 10/06/2026
20.5.14.1 7 10/06/2026
20.5.7.1 8 10/06/2026
20.5.2.5 9 10/06/2026
20.4.3.1 10 10/06/2026
20.3.5.1 7 10/06/2026
20.3.1.1 8 10/06/2026
20.2.1.1 8 10/06/2026
20.1.1.4 8 10/06/2026
19.12.4.1 9 10/06/2026
19.11.5.1 9 10/05/2026
19.9.1.6 8 10/06/2026
19.8.2.3 9 10/06/2026
19.7.4.3 7 10/06/2026
19.6.9.5 9 10/06/2026
19.5.1.1 7 10/06/2026
19.4.10.9 7 10/07/2026
19.4.1.3 8 10/06/2026
19.2.7.8 8 10/07/2026
19.1.3.1 9 10/06/2026
18.12.9.1 8 10/06/2026
18.11.10.6 10 10/06/2026
18.11.9.9 7 10/06/2026
18.11.7.4 9 10/06/2026
18.11.4.19 8 10/06/2026
18.10.22.8 8 10/06/2026
18.10.0.37226 7 10/06/2026
18.10.0.35263 10 10/06/2026