是否可以监视将来创建的注册表更改 [英] Is it possible to monitor registry changes that will be created in future
本文介绍了是否可以监视将来创建的注册表更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Is it possible to monitor registry changes that will be created in future.
If i go with creating ManagementEventWatcher , the query fails to execute as the key will not able available when watcher is created
我尝试过:
我已经尝试过RegistryKeyChangeEvent,RegistryValueChangeEvent ..但看起来两者都无法解决我的要求。
What I have tried:
I have already tried RegistryKeyChangeEvent, RegistryValueChangeEvent ..but seesm both doesnt solve my requirement.
推荐答案
您好,
阅读本文以帮助您阅读注册表值:
> Registry.GetValue方法(String,String,Object) (Microsoft.Win32) [ ^ ]
您必须创建一个Windows服务或一个deamon(取决于您的操作系统)当价值发生变化时,你会发动一些动作。
干杯,
$ b $bJoséAmílcarCasimiro
Hello,
Read this article to help you reading the registry values:
> Registry.GetValue Method (String, String, Object) (Microsoft.Win32)[^]
You will have to create a windows service or a deamon (depending on your operating system) and when the value changes you launch some action.
Cheers,
José Amílcar Casimiro
这篇关于是否可以监视将来创建的注册表更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文