Esempio n. 1
0
 public SecurityDescriptor GetSecurityKey()
 {
     byte[] bytes = RegistryHelper.GetHiveBytes(this.HivePath);
     return(GetSecurityKey(bytes));
 }
Esempio n. 2
0
 public static NamedKey Get(string path, string key)
 {
     return(NamedKey.Get(RegistryHelper.GetHiveBytes(path), path, key.TrimEnd('\\')));
 }
Esempio n. 3
0
        internal static NamedKey[] GetInstances(byte[] bytes, string path)
        {
            NamedKey hiveroot = RegistryHelper.GetRootKey(bytes, path);

            return(hiveroot.GetSubKeys());
        }
Esempio n. 4
0
 public object GetData()
 {
     return(this.GetData(RegistryHelper.GetHiveBytes(this.HivePath)));
 }