tags:

views:

92

answers:

1

Hello, I have a problem. I need to trace all read/write operations to the registry made by various different programs.

I need to do this tracing from within a C# program.

Can I do this, or is it impossible?

+1  A: 

Answer is you can.... :)

Sysinternals has developed a utility called Regmon that does this thing. Then there is no reason to become this "Impossible"

But definitely some time will be needed to understand the procedure of doing this..

Update : I found a way of doing it.

MSDN Thread

CodeProject Article

Chathuranga Chandrasekara
Thank you. But i have new question: can i trace changes from one specific program? I want that user choose one program and my application trace changes only for this program..
hmmm.. you have to get the PID/Process Name of the process that modifies the registry and then apply a filter.. :S
Chathuranga Chandrasekara