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

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