Process.Start(), Process.EnterDebugMode()?

Posts 16 of 6 · Page 1 of 1
Process.Start(), Process.EnterDebugMode()?
Besides PInvoke and using Process.Start(), are there any other ways to get a handle to a process? And there is no way to write to a process's memory or read from it without ReadProcessMemory and WriteProcessMemory PInvokes, right? Also, EnterDebugMode() is the same as setting SeDebugPriviledge, right? And to access a process's properties without using process.start() to run the program, you have to attach the System.Diagnostics.Process instance to a running process, call EnterDebugMode on it, and then use Process.Refresh()? I'm trying to make a game trainer with as much .NET as possible, so I could use some confirmation/advice on this. Anyone? SCHiM? Jason? Hassan? Wah...

Edit: Do you need some special access priviledge to call EnterDebugMode on a running process that you didn't start with Start()?
Quote Originally Posted by H3ll King View Post
ha......?!
Well, that's helpful. Thanks for your informative post.
Actually I Don't understand IN C#
i hope you find help post

Sorry
Process.EnterDebugMode() only applies to the process the code is being executed by, you also require Administrator rights to use that function too. Why would you need to attach the process for? Once you've gained Debug privilleges on your application, you can get any process handle...

There aren't any other methods of reading memory from another process (that I know of) apart from using a driver or injecting into the process..
Thanks, I just didn't entirely understand the Process class. /derp
Posts 16 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?