Exemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="MemoryBufferHelper"/> for the specified process.
 /// </summary>
 /// <param name="process">The process.</param>
 public MemoryBufferHelper(Process process)
 {
     Process               = process;
     _bufferSearcher       = new MemoryBufferSearcher(process);
     _virtualQueryFunction = VirtualQueryUtility.GetVirtualQueryFunction(process);
     _allocateMemoryMutex  = MutexObtainer.MakeMutex(CreateBufferMutexName());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new <see cref="MemoryBufferHelper"/> for the specified process.
 /// </summary>
 /// <param name="process">The process.</param>
 public MemoryBufferHelper(Process process)
 {
     Process               = process;
     _bufferSearcher       = new MemoryBufferSearcher(process);
     _virtualQueryFunction = VirtualQueryUtility.GetVirtualQueryFunction(process);
 }