且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更新相同的注册表

更新时间:2022-11-01 12:31:39

是否可以更新相同的注册表文件
如果这是唯一的问题,是.

我敢肯定,现在您的后续行动将是如何进行的(为什么不第一次就问呢?)

一个人可以随时更新注册表项.您去了:
使用C#从注册表中读取,写入和删除 [
Is it possible to update same registry file
If this was the only question, YES.

I am sure now your follow up would be, how (why not ask it first time itself?)

One can update the registry key at any time. Here you go:
Read, write and delete from registry with C#[^]


RegistryKey rk = Registry.CurrentUser.CreateSubKey("SOFTWARE\\BLA\\BLA");
           rk.SetValue("RegistryName", VALUE);

具有SetValue()属性,您可以更新设置或更改您的注册表值.

with SetValue() property you can update set or change your Registry Value.