HelpC# Memory Read/Write

Posts 1–5 of 5 · Page 1 of 1
C# Memory Read/Write
I am using Jorndel's C# Memory Reader/Writer

I have gotten the base address from a level 1 pointer. It has no offsets and the address is just 645360

I have written a C# application that will retrieve this number and print it to a textbox.

However, it does not return the number from the address, it returns '26269248' when it is supposed to return '199'

Image of what I'm explaining:


Code:
        private void button1_Click(object sender, EventArgs e)
        {
            if (Process_Handle("Tutorial-i386"))
            {
                textBox1.Text = ReadInteger(0x645360).ToString();
            }
        }
Quote Originally Posted by Lxys View Post
I am using Jorndel's C# Memory Reader/Writer

I have gotten the base address from a level 1 pointer. It has no offsets and the address is just 645360

I have written a C# application that will retrieve this number and print it to a textbox.

However, it does not return the number from the address, it returns '26269248' when it is supposed to return '199'

Image of what I'm explaining:


Code:
        private void button1_Click(object sender, EventArgs e)
        {
            if (Process_Handle("Tutorial-i386"))
            {
                textBox1.Text = ReadInteger(0x645360).ToString();
            }
        }
View it in disassembler, then find what offset accesses that address, then use that offset in your code.
Quote Originally Posted by Dexter View Post
View it in disassembler, then find what offset accesses that address, then use that offset in your code.
It doesn't have any offsets, it's a level 1 pointer.
You are getting the value 26269248 in dec which would be 190D640 in hex.
To get 199 you need to do this:
Code:
ReadInteger(ReadInteger(0x645360));
Quote Originally Posted by Lxys View Post
I am using Jorndel's C# Memory Reader/Writer

I have gotten the base address from a level 1 pointer. It has no offsets and the address is just 645360

I have written a C# application that will retrieve this number and print it to a textbox.

However, it does not return the number from the address, it returns '26269248' when it is supposed to return '199'

Image of what I'm explaining:


Code:
        private void button1_Click(object sender, EventArgs e)
        {
            if (Process_Handle("Tutorial-i386"))
            {
                textBox1.Text = ReadInteger(0x645360).ToString();
            }
        }
got windows 10? this might help

Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us