AEMManager.Util.RegistryMigration.MigrateInstances C# (CSharp) Method

MigrateInstances() private static method

private static MigrateInstances ( RegistryKey source, RegistryKey target ) : void
source Microsoft.Win32.RegistryKey
target Microsoft.Win32.RegistryKey
return void
        private static void MigrateInstances(RegistryKey source, RegistryKey target)
        {
            string[] subkeys = source.GetSubKeyNames();
              for (int i = 0; i < subkeys.Length; i++) {
            RegistryKey oldInstance = source.OpenSubKey(subkeys[i], false);
            RegistryKey instance = target.CreateSubKey(subkeys[i]);
            MigrateInstance(oldInstance, instance);
              }
        }