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.
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/
Havoc wrote:
Are there any equivalents to these win32 apis? Thanx in advance.
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:
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