I want to be able to read and write from another process\'s memory. I called the functions Readprocessmemory()
and WriteProcessmemory()
from Kern
In order to read and write memory to another process you need to use the ReadProcessMemory and WriteProcessMemory functions provided by kernel32. If you are using C# you will need to use PInvoke to import these functions into your current process.
More generally, what you need to do is this:
Once this is done you can look at your local buffer and you'll see data that used to be in the foreign process, and life will be good.