使用XML文件搜索注册表值? [英] Search Registry values using XML file????plzzz help me.

查看:91
本文介绍了使用XML文件搜索注册表值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在XML文件中具有winzip软件的所有注册表值.
现在我想检查一下XML文件中存在的所有值在注册表中是否存在.
我不明白如何完成这项任务.使用C#代码.

我从XML文件中获取了值,想要从系统的实际注册表中进行搜索.

thnx c#

i have all registry vales of winzip software in a XML file.
now i wanted to chk that all the values, which exists in the XML file, are exists in the registry.
i dont understand how to do this task. with c# code.

i get the value from XML file n wanted to search it from the actual registry of system.

thnx c#

推荐答案

如果您了解如何读取xml文件,则只需从中获取值并使用注册表API.有关示例,请参见以下有关codeproject的文章:http://www.codeproject.com/KB/system/modifyregistry.aspx
If you understand how to read the xml file then it's just a matter of taking the values from it and using the registry API.  See the following write up on codeproject for an example: http://www.codeproject.com/KB/system/modifyregistry.aspx


这篇关于使用XML文件搜索注册表值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆