How can read a value of a variable in memeory, as binary, which I have its pointer address for in C#?
This article shows how to use the Win32 ReadProcessMemory function to do it. Note that using the unsafe keyword is not sufficient, as it does not give you the ability to specify an explicit memory location.
How to write a Memory Scanner using C#
http://www.codeproject.com/KB/cs/sojaner_memory_scanner.aspx
To view the relevant code, you will need to download the project source, and examine the MemoryScanner.cs class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With