Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 06:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[REQUEST] [C#] Read/Write Memory

Discussion on [REQUEST] [C#] Read/Write Memory within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 16
Received Thanks: 0
[REQUEST] [C#] Read/Write Memory

Hi guys,

I know C# (Simple).
I try to search "how to read/write process memory" but there is not result. Please help me about this? Waiting your helps.

Thank you.

(if my English bad. I'm sorry )
MrDeNNiS26 is offline  
Old 03/03/2010, 18:24   #2
 
elite*gold: 0
Join Date: Apr 2007
Posts: 906
Received Thanks: 1,431
what u need to google for is 'ReadProcessMemory'
Warlax is offline  
Old 03/04/2010, 00:41   #3
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
PHP Code:
        //        ReadProcessMemory(
        //            HANDLE hProcess,              // handle to the process
        //            LPCVOID lpBaseAddress,        // base of memory area
        //            LPVOID lpBuffer,              // data buffer
        //            SIZE_T nSize,                 // number of bytes to read
        //            SIZE_T * lpNumberOfBytesRead  // number of bytes read
        //            );
        
[DllImport("kernel32.dll")]
        public static 
extern Int32 ReadProcessMemory(IntPtr hProcessIntPtr lpBaseAddress, [InOutbyte[] bufferUInt32 sizeout IntPtr lpNumberOfBytesRead);

        
//        WriteProcessMemory(
        //            HANDLE hProcess,                // handle to process
        //            LPVOID lpBaseAddress,           // base of memory area
        //            LPCVOID lpBuffer,               // data buffer
        //            SIZE_T nSize,                   // count of bytes to write
        //            SIZE_T * lpNumberOfBytesWritten // count of bytes written
        //            );
        
[DllImport("kernel32.dll")]
        public static 
extern Int32 WriteProcessMemory(IntPtr hProcessIntPtr lpBaseAddress, [InOutbyte[] bufferUInt32 sizeout IntPtr lpNumberOfBytesWritten); 
spare2 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Memory read/write Programm (C++)
09/23/2010 - C/C++ - 9 Replies
Hallo ich hab n kleines Programm in C++ geschrieben, das eben den Speicher nach bestimmten Werten durchsucht. Man kann dann eben auch nach sich ändernden Werten suchen usw. So wie solche Programme eben so funktionieren... Problem hierbei ist nur, dass openprocess() bei manchen Anwendungen fehl schlägt. Bei allen Sachen bei denen ich es probiert habe (Diablo2,MineSweeper usw) geht es nur nicht bei KalOnline^^ Ich will nichmal irgendwas hacken oder so, ich will nur das openprocess() klappt. Ich...
[VB]Write Memory bzw Read Memory
06/26/2010 - .NET Languages - 8 Replies
Hi Ich hab das TuT von *Guidman* benütz um einen hack zu machen. So aber nun hab ihc ein paar fragen könnte man memory teil kürzer machen und am besten wie kann man das selber machen weil ich will nihct immer C&P machen. Und zu Read Memory kann man das auch machen das ein Label immer die Bestimmte Ahnzahl angiebt von dem Pointer?.(Wenn das Read Memory ist ?) Bitte helf mir Danke
[Request]How to read memory address in c#?
03/30/2010 - CO2 Programming - 6 Replies
I just started learning C# i want to know how to read memory address of a certain application if anyone would be able to give this as an example i would be really thankful! i want to read HP memory address then i want it to appear in label in my program! note: Please no answers like ur lazy, google is ur friend or search for "" Thanks for those who wants to help :handsdown:



All times are GMT +1. The time now is 06:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.