471,325 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

registry changing monitor

Is there any way for .net to get the name of the changing entry of registry
in real time? We want to monitor the whole registry and be notified when
there was a entry is changed on time. We also want to know the name and path
of the changed entry.
how can i do this?

we appreciate ur help...
Jan 25 '06 #1
2 3104
AFAIK there is no standard way to do this.

"Not standard" means that you can inject unmanaged dll that will replace
default registry api.
This unmanaged dll will communicate with managed side with the help of any
IPC ( window messages, sockets, named pipes, etc )
--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"eric" <eric @discussions.microsoft.com> wrote in message
news:4A**********************************@microsof t.com...
Is there any way for .net to get the name of the changing entry of
registry
in real time? We want to monitor the whole registry and be notified when
there was a entry is changed on time. We also want to know the name and
path
of the changed entry.
how can i do this?

we appreciate ur help...

Jan 25 '06 #2

"eric" <eric @discussions.microsoft.com> wrote in message
news:4A**********************************@microsof t.com...
| Is there any way for .net to get the name of the changing entry of
registry
| in real time? We want to monitor the whole registry and be notified when
| there was a entry is changed on time. We also want to know the name and
path
| of the changed entry.
| how can i do this?
|
| we appreciate ur help...

You can use System.Management and WMI to register a Registry Event listener,
but you should be prepared to get quite some events per second on a busy
system, so this should only be used for debugging purposes.

Willy.

Jan 25 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Dale Bradford | last post: by
2 posts views Thread by Henry Fleming | last post: by
1 post views Thread by predoni | last post: by
3 posts views Thread by Rymfax | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.