在C#中需要reigstryKey, [英] need of reigstryKey in c#,

查看:61
本文介绍了在C#中需要reigstryKey,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#中需要RegistryKey,

问候,
harini

The need of registryKey in c#,

Regards,
harini

推荐答案

RegistryKeys是注册表中组织的基本单位,可以与Windows资源管理器中的文件夹进行比较.特定键可以具有子键(就像文件夹可以具有子文件夹一样),并且可以删除,只要用户具有适当的权限即可,并且该键不是基本键,也不是直接位于基本键下的级别.键.每个键还可以具有与其关联的多个值(可以将一个值与文件进行比较),这些值用于存储有关您感兴趣的应用程序的信息.每个值都包含一条特定的信息,可以从中检索或必要时更新.例如,您可以为公司创建一个RegistryKey(在注册表项HKEY_LOCAL_MACHINE \ Software下),然后为公司创建的每个应用程序创建一个子项.每个子项都包含特定于该应用程序的信息,例如颜色设置,屏幕位置和大小或可识别的文件扩展名.

请参考: MSDN [ ^ ]
RegistryKeys are the base unit of organization in the registry, and can be compared to folders in Windows Explorer. A particular key can have subkeys (just as a folder can have subfolders), and can be deleted, as long as the user has the appropriate permissions to do so, and the key is not a base key, or the level directly under the base keys. Each key can also have multiple values associated with it (a value can be compared to a file), which are used to store the information about the application you are interested in. Each value holds one particular piece of information, which can be retrieved or updated when required. For instance, you can create a RegistryKey for your company (under the key HKEY_LOCAL_MACHINE\Software), and then a subkey for each application that your company creates. Each subkey holds the information specific to that application such as color settings, screen location and size, or recognized file extensions.

Refer this:MSDN[^]


这篇关于在C#中需要reigstryKey,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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