public static void AddHives(string key, RegHive rh) { lock (_object) { Controller.regHives.Add(key, rh); } }
public void Load() { Controller.UpdateProgress("Loading:" + key, true); RegHive reghive = new RegHive(key, sk); AddHives(key, reghive); Controller.UpdateProgress("Completed:" + key + " Total " + reghive.regKeys.Count + " subkeys", true); }