473,394 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 3200
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dale Bradford | last post by:
Is it possible with C# to find out which program is changing certain keys in the registry? I've already searched for "registry watchers" code examples or downloads, but they seem to only take...
4
by: akhare1 | last post by:
OK, before I start, let me clarify a few things here. This is not the run of the mill failure to read a registry key while trying to write to the Event Log. Here's our setup: a) IIS 6.0...
2
by: Henry Fleming | last post by:
I have an C# assembly that is supposed to read a registry key: RegistryKey regCurrentUser = Registry.CurrentUser; RegistryKey regSoftware = regCurrentUser.OpenSubKey("Software",true);...
1
by: predoni | last post by:
Hello, I developed a program that monitor the registry. This program notify if one of the key is changed. The next step is to create the posibility to tell what process have modified the...
5
by: Parv | last post by:
I am working in a domain environment. I am on a client machine and wants to edit registery of domain server. I am currently in a Domain user account and member of Domain administrators on the...
6
by: ewolfman | last post by:
Hi, Is there any way in which I can monitor / hook the Registry, and upon a call to a specific key from a specific application - swap the returned value? I was thinking of using this method...
3
by: Rymfax | last post by:
Hello, I was hoping someone could help me with a problem I'm having. I've got a C# app that uses several DLL Imports from setupapi.dll and others (Thanks again for the Help on those Willy). One...
0
by: keane | last post by:
Develope a registry monitor -------------------------------------------------------------------------------- i m going to use detour library to intercept API calls to the the registry from .NET...
0
by: keane | last post by:
Develope a registry monitor -------------------------------------------------------------------------------- i m going to use detour library to intercept API calls to the the registry from .NET...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.