-
-
Notifications
You must be signed in to change notification settings - Fork 208
How To Get Started (C#)
New Age Soldier edited this page Oct 10, 2020
·
15 revisions
-
Compile Memory.dll and add reference to it.
Project > Add Reference
. -
Add the NuGet package System.Security.Principal.Windows.
-
Make sure your project trainer matches your game's platform. If you need x64, uncheck prefer 32bit when using
Any CPU
.Example: x86 game = x86 trainer, x64 game = x64 trainer.
Open the application's code view and add this to the very top of the code.
using Memory;
Inside your namespace
> class
brackets add the following:
public Mem MemLib = new Mem();
Now open the process for read/write using the following code in whichever function you want.
Use Task Manager
> Details (tab)
to find the specific GAME_NAME. Example: World of Warcraft is WoW.
MemLib.OpenProcess("GAME_NAME");
Now you can read or write to a specific memory pointer/offset using the external memory library.