编辑注册表文件 [英] Editing Registry Files

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

问题描述

当我使用C#代码处理Windows 7时,如何编辑或添加新密钥到本地计算机?

How can I edit or add new key to local machine while I''m working on Windows 7 with C# code?

推荐答案





看看这里:

使用C#从注册表中读取,写入和删除 [ ^ ]

http://msdn.microsoft.com/en-us/library/vstudio/h5e7chcf.aspx [ ^ ]



请注意:您应该以管理员身份运行您的应用程序,否则您将无法访问注册表。
Hi,

Have a look here:
Read, write and delete from registry with C#[^]
http://msdn.microsoft.com/en-us/library/vstudio/h5e7chcf.aspx[^]

Please note: you should run your application as Administrator, otherwise you can''t access the registry.


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

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