Get Started
dotnet add package MonoMod.RuntimeDetour --version 25.3.6
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
Notable APIs
MonoMod.RuntimeDetour.Hook- An easy-to-use method hookMonoMod.RuntimeDetour.ILHook- Modifies the IL of a methodMonoMod.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.
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 10 target frameworks; confirm the exact target used by your application.The published metadata declares 54 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.