Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How can i scan and get the whole memory of a process in c# ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Chocolade
Newbie cheater
Reputation: 0

Joined: 01 Oct 2013
Posts: 10

PostPosted: Sun Oct 27, 2013 5:07 am    Post subject: How can i scan and get the whole memory of a process in c# ? Reply with quote

I tried to add my code here but im getting an error say im not allowed to post url's yet.

Anyway my question is how do i scan a specific process and find its start address and end address so later ill be able to find a value in this process memory ?

In cheat engine you enter a value click on first scan change the value and click on next scan.
So what i want to do is the same as cheat engine but i dont want to go to the cheat engine and search for the addresses there !

I want to do it in c# so it will scan for the whole memory and then i will scan it for a specific value.
The problem is im getting each time a mega or sometimes nothing like its getting only parts of the memory and not all the memory of the process.

This is my code:
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Oct 30, 2013 2:08 am    Post subject: Reply with quote

Use API calls via pinvoke. You can use VirtualQueryEx to walk a processes memory regions.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites