Thank you for your Reply, Jerry.
I found the Marshal class, and read over it quickly. The ReadByte would
fit great, but i have an other problem:
The Userspace i want to write to is of a different Process. So i dont
manipulate data from my own userspace, i want to manipulate a different
Process.
// Getting all Solitare Processes.
Process[] pArray = Process.GetProcessesByName("sol.exe");
Expect i want to read and write of and to the userspace of the pArray[0]
Process. The adress in the userspace is a certain hex-value i want to
read / write to.
Has anyone an idea how to manage that?
TIA,
Grabler Georg aka STiAT
Jerry Ham wrote:
The marshal class lets you manipulate memory (read, write, etc.)
Jerry
"STiAT" <st***@chello.at> wrote in message
news:CH*******************@news.chello.at...
Hello.
I tried to find a similar Function to WriteMemory, and couldnt find any
memory manipulating functions in dotNET at all.
I now wanted to know if there are any similar functions to the VC++ 6.0
(MFC) ReadMemory and WriteMemory, and WriteProcessMemory functions. As
well
as it would be interesting how to get informations about the userspace of
a
single process in dotNET (C#).
I already found out some specific things as Process-Object, where i can
find
out the Virtual Memory used by the Program.
I would be glad about any information you can give me, because as you may
see, i "just" started developing in the new framework, and i am a bit
confused about the documentation system.
Thank you, STiAT aka Grabler Georg