thank you, i will try it.
---------- Post added at 01:55 PM ---------- Previous post was at 12:44 PM ----------
i followed a tutorial for runes of magic and i tried to convert their code for my usage, but i dont know.. something went wrong
i just dont know what rw means and why the byte array has a length of 24.
btw i know that i have to use the base + offset, but did i make it right ?
i hope someone can tell me what i made wrong
thank you <3
edit:
i read your post @sychotix
but they used this method for getting a string. im confused 
Code:
private void button1_Click(object sender, EventArgs e) {
Process[] iexp = Process.GetProcessesByName("iexplore");
if (iexp.Length == 0) {
listBox1.Items.Add("NOT FOUND");
}
Process internet = iexp[0];
uint baseAddress = (uint)internet.MainModule.BaseAddress.ToInt32();
IntPtr readHandle = OpenProcess(0x0010, false, (uint)internet.Id);
byte[] bytes = new byte[24];
uint rw = 0;
uint size=sizeof(int);
ReadProcessMemory(readHandle, ((IntPtr)baseAddress + 0x0D6B058E), bytes, (UIntPtr)24, ref rw);
string ownedcore = Encoding.UTF8.GetString(bytes);
ReadProcessMemory(readHandle, (IntPtr)baseAddress + 0x00528744, bytes, (UIntPtr)size, ref rw);
int someNumber = BitConverter.ToInt32(bytes, 0);
listBox1.Items.Add(ownedcore);
listBox1.Items.Add(someNumber);
}
}