c# memory Reading menu

User Tag List

Results 1 to 7 of 7
  1. #1
    laurens's Avatar Member
    Reputation
    2
    Join Date
    Nov 2006
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    c# memory Reading

    Does someone got exemples how to read managed memory?

    c# memory Reading
  2. #2
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Google is your best friend. But you can PInvoke the win32 function ReadProcessMemory to do it for you. Doing any memory reading however, is always best done from a lower level language. (Such as C++)

  3. #3
    laurens's Avatar Member
    Reputation
    2
    Join Date
    Nov 2006
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    c++ is to anoying

    i like c# the most but there are not much tutorials how to do it,

  4. #4
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because .NET can't read other process' memory. You need to use a PInvoke from win32.dll's ReadProcessMemory.

    And simply googling for "Reading memory with C#" brings up quite a few ways to do what you want. I highly suggest you learn about marshaling first though, or you will be lost.

  5. #5
    Thybhalt's Avatar Member
    Reputation
    3
    Join Date
    Jun 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shynd posted a good C# class libary for Memory Reading in C# =)

    Shynd’s WoW Modification Journal

  6. #6
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Thybhalt View Post
    Shynd posted a good C# class libary for Memory Reading in C# =)

    Shynd’s WoW Modification Journal
    And that's exactly what I said in my post before. .NET doesn't come out of the box with the ability to read other process' memory. Period. You need to use PInvokes to do it. However, you can write a wrapper for that type of stuff (such as that library you linked) to make it a bit easier. If you don't know about marshaling with C#, you won't make any progress trying to read memory.

  7. #7
    mosimo's Avatar Member
    Reputation
    2
    Join Date
    Jul 2008
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CodeProject: Minesweeper, Behind the scenes. Free source code and programming help
    Very good article. I used that first when I started looking into memory reading. You can use the code in there and just adapt it to whatever.

Similar Threads

  1. White Paper : Memory reading
    By tttommeke in forum WoW Memory Editing
    Replies: 41
    Last Post: 06-19-2008, 02:30 AM
  2. WoW Leveling Bot Memory Reading
    By Lindoz12 in forum WoW Memory Editing
    Replies: 2
    Last Post: 02-21-2008, 06:25 PM
  3. VB .Net Memory Reading Project
    By Glitchy in forum WoW Memory Editing
    Replies: 4
    Last Post: 01-22-2008, 12:37 PM
  4. [AutoIT3] WoW Cordinator (X,Y,MapID and rotation memory reading)
    By Vladinator in forum World of Warcraft Bots and Programs
    Replies: 22
    Last Post: 05-15-2007, 03:26 AM
All times are GMT -5. The time now is 11:53 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search