Skip to content

Commit

Permalink
made GetModulesAddressByName public
Browse files Browse the repository at this point in the history
  • Loading branch information
erfg12 committed May 25, 2022
1 parent ab330c1 commit 18d7d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Memory/memory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ public UIntPtr GetCode(string name, string path = "", int size = 8)
/// </summary>
/// <param name="name">name of module</param>
/// <returns></returns>
private IntPtr GetModuleAddressByName (string name)
public IntPtr GetModuleAddressByName (string name)
{
return mProc.Process.Modules.Cast<ProcessModule>().SingleOrDefault(m => string.Equals(m.ModuleName, name, StringComparison.OrdinalIgnoreCase)).BaseAddress;
}
Expand Down

0 comments on commit 18d7d1c

Please sign in to comment.