From 18d7d1c019dc2709f4075ec79d99eb9f1956219d Mon Sep 17 00:00:00 2001 From: Jacob Fliss Date: Wed, 25 May 2022 16:16:08 -0400 Subject: [PATCH] made GetModulesAddressByName public --- Memory/memory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Memory/memory.cs b/Memory/memory.cs index fb55822..15a44cf 100644 --- a/Memory/memory.cs +++ b/Memory/memory.cs @@ -502,7 +502,7 @@ public UIntPtr GetCode(string name, string path = "", int size = 8) /// /// name of module /// - private IntPtr GetModuleAddressByName (string name) + public IntPtr GetModuleAddressByName (string name) { return mProc.Process.Modules.Cast().SingleOrDefault(m => string.Equals(m.ModuleName, name, StringComparison.OrdinalIgnoreCase)).BaseAddress; }