-
-
Notifications
You must be signed in to change notification settings - Fork 208
Process Modules
Jacob Fliss edited this page Aug 7, 2019
·
4 revisions
If you want to list all the modules available in the game. This is a good method to see if your injected DLL has been injected successfully. Here is some example code.
The modules are stored in the modules
dictionary.
StringBuilder sb = new StringBuilder();
foreach (var item in MemLib.modules)
{
sb.AppendFormat("{0} - {1}{2}", item.Key, item.Value, Environment.NewLine);
}
string result = sb.ToString().TrimEnd();
//MessageBox.Show(result); //if you want to
Debug.Write(result); //shows in VS debug console