Reading A Processes Memory
I remember posting before about this, but I didn't quite specifie what type of memory I wanted to read. Well I need to know how to read A processes Virtual Memory. I know how to read a single address, but I need to list a whole bunch of addresses into an array. Is this possible?
*bump*
I was thinking the only way to get the addresses, is either to get every combonation written on a text file, but the randomizing takes far to long. Is there any other more productive way.
Hi Jeremy,
Based on your post, my understanding of your question is that you need to read a process memory.
You can use the pinvoke mechanism to call the ReadProcessMemory funtion. Please see: http://www.pinvoke.net/default.aspx/kernel32/ReadProcessMemory.html about the signature of the ReadProcessMemory function in the vb.net. Here is one article Minesweeper, Behind the scenes. It demonstrates directly reading another processes memory in C# by using P/Invoke and Win32 Api's.
Best regards,
Riquel.