/Harmony

A library for patching, replacing and decorating .NET and Mono methods during runtime

Primary LanguageC#MIT LicenseMIT

Harmony

v1.0.9.1 Documentation

A library for patching, replacing and decorating .NET and Mono methods during runtime.


If you develop in C# and your code is loaded as a module/plugin into a host application, you can use Harmony to alter the functionality of all the available assemblies of that application. Where other patch libraries simply allow you to replace the original method, Harmony goes one step further and gives you:

  • A way to keep the original method intact

  • Execute your code before and/or after the original method

  • Modify the original with IL code processors

  • Multiple Harmony patches co-exist and don't conflict with each other

Please check out the documentation here: Wiki

Hope you enjoy Harmony!

For more information and my other open source projects, follow me on twitter: @pardeike


Email: andreas@pardeike.net Twitter: @pardeike MIT License