How to find out which registry keys have changed C #

I am currently developing and researching the possibility of creating a small application for monitoring personal preference changes in the registry.

Where I just started using mandatory profiles for users, since personal preferences are not saved. The idea behind this project is to track personal preference changes and write them to a file every minute or so with minimal resources.

So far I have created a small program that monitors registry changes and reports that the changes were made using: http://www.codeproject.com/KB/system/registrymonitor.aspx

But I really need to tell this to me to tell which registry keys were actually changed, at the moment it just says that the change was made, but not which key. If I can monitor the changes and revert them back to which key was changed, I'll be fine with the rest.

So, is there a way to do this in C #? Or should I look at other languages?

I cannot use WMI or other similar systems as the information I am trying to get is stored in the HKEY_CURRENT_USER part of the registry.

+2


source to share


1 answer


Do you mean Process Monitor ? (he replaced RegMon)



+2


source







All Articles