Beispiel #1
0
        public static RegistryKey CreateRegistryKey(WRegisterTool.WRegisterRootKeyType rootKeyType, string keyPath, string keyValueName, string keyValue)
        {
            RegistryKey registryKey = WRegisterTool.CreateRegistryKey(rootKeyType, keyPath);

            registryKey.SetValue(keyValueName, keyValue);
            return(registryKey);
        }
Beispiel #2
0
        public static RegistryKey CreateRegistryKey(RegistryKey fatherKey, string keyPath, string keyValueName, string keyValue)
        {
            RegistryKey registryKey = WRegisterTool.CreateRegistryKey(fatherKey, keyPath);

            registryKey.SetValue(keyValueName, keyValue);
            return(registryKey);
        }
Beispiel #3
0
 public static RegistryKey CreateRegistryKey(WRegisterTool.WRegisterRootKeyType rootKeyType, string keyPath)
 {
     WRegisterTool.GetRootRegisterKey(rootKeyType);
     return(WRegisterTool.CreateRegistryKey(rootKeyType, keyPath));
 }