Sample - DateTime.Now patch with Harmony
This sample shows how to rewrite a BCL method via memory patching using Harmony library. See https://stakhov.pro/hacking-net-rewriting-code-you-dont-control/ for a detailed writeup of the technique used.
Rewriting .NET BCL methods using memory patching
https://stakhov.pro/hacking-net-rewriting-code-you-dont-control/
This sample shows how to rewrite a BCL method via memory patching using Harmony library. See https://stakhov.pro/hacking-net-rewriting-code-you-dont-control/ for a detailed writeup of the technique used.
Rewriting .NET BCL methods using memory patching
https://stakhov.pro/hacking-net-rewriting-code-you-dont-control/
MIT License