Example #1
0
 /// <summary>
 /// Initializes a new Boot Configuration Database
 /// </summary>
 /// <param name="root">The registry key at the root of the database</param>
 /// <returns>The BCD store</returns>
 public static Store Initialize(RegistryKey root)
 {
     RegistryKey descKey = root.CreateSubKey("Description");
     descKey.SetValue("KeyName", "BCD00000001");
     root.CreateSubKey("Objects");
     return new Store(root);
 }
 public ThinkAwayRegistryStorage(RegistryKey key)
 {
     _rootKey = key;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the Store class.
 /// </summary>
 /// <param name="key">The registry key that is the root of the configuration database</param>
 public Store(RegistryKey key)
 {
     _store = new ThinkAwayRegistryStorage(key);
 }