Пример #1
0
 /// <summary>
 /// Constructor with module base address
 /// </summary>
 /// <param name="process"></param>
 /// <param name="baseAddress"></param>
 public RemoteModule(RemoteProcess process, IntPtr baseAddress) : base(process, baseAddress)
 {
     ModuleInfo = process.ProcessEnvironmentBlock.GetModule(baseAddress);
 }
Пример #2
0
 /// <summary>
 /// Constructor with internal ModuleInfo structure
 /// </summary>
 /// <param name="process"></param>
 /// <param name="moduleInfo"></param>
 public RemoteModule(RemoteProcess process, ModuleInfo moduleInfo) : base(process, moduleInfo.BaseAddress)
 {
     ModuleInfo = moduleInfo;
 }