[DllImport("kernel32.dll", SetLastError = true, PreserveSig = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress,
byte[] lpBuffer, UIntPtr nSize, out int lpNumberOfBytesRead);
Declare Function ReadProcessMemory Lib "user32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a ProcessMemoryChunk class to allocate and access memory of a different process.