.Net equivalents to writeprocessmemory and readprocessmemory

Are there any equivalents to these win32 apis Thanx in advance.


Answer this question

.Net equivalents to writeprocessmemory and readprocessmemory

  • johnmurray

    No there is no equivalent in .NET of these methods.

    What are you trying to achieve And perhaps we could suggest alternatives.

    Tip: If you want to find alternatives for Win32 methods in the .NET Framework, check out the Microsoft Win32 to Microsoft .NET Framework API Map:

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/win32map.asp

    Although beware that it hasn't been updated for 2.0 as of yet.



  • R.D.

    Thanks for the help guys Smile

  • Nick Savoiu

    This article should help you out..

    http://www.codeproject.com/csharp/freecellreader.asp

  • Sercan AYYILDIZ

     Havoc wrote:
    Are there any equivalents to these win32 apis Thanx in advance.

    Havoc,

       There are no equivalents in the .NET framework for these APIs.  You will have to call them through the P/Invoke layer in order to call them.  A great resource for finding declarations for Win32 APIs is:

    http://www.pinvoke.net

       I've searched for both ReadProcessMemory and WriteProcessMemory and they are both there.

       Hope this helps.

              - Nicholas Paldino [.NET/C# MVP]
              - mvp@spam.guard.caspershouse.com

  • MaxWeber

    If you are going to be using Win32 from .NET then take a look at this website:
    http://www.pinvoke.net/

    It has loads of samples and ready to use snippets.

    Regards,
    Vikram   
    http://dotnetupdate.blogspot.com/



  • howardtr

    I'm actually into game hacking and my dad just got me vb.net and I thought id give .net a try but I can still use my win32. Thnx anyway, I'll read that webpage.

  • .Net equivalents to writeprocessmemory and readprocessmemory