From bf0f94ce20a02c9238b4aeada536f82b54dff3f2 Mon Sep 17 00:00:00 2001 From: Levi B Date: Thu, 26 Feb 2015 23:46:02 -0800 Subject: [PATCH] Store reg keys in a different folder to mitigate impact of renaming changes --- .../Repositories/RegistryXmlRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.DataProtection/Repositories/RegistryXmlRepository.cs b/src/Microsoft.AspNet.DataProtection/Repositories/RegistryXmlRepository.cs index e670282c7b..a25fc6a3d4 100644 --- a/src/Microsoft.AspNet.DataProtection/Repositories/RegistryXmlRepository.cs +++ b/src/Microsoft.AspNet.DataProtection/Repositories/RegistryXmlRepository.cs @@ -71,11 +71,11 @@ namespace Microsoft.AspNet.DataProtection.Repositories using (aspnetBaseKey) { // TODO: Remove the ".BETA" moniker. - var dataProtectionKey = aspnetBaseKey.OpenSubKey("DataProtection.BETA", writable: true); + var dataProtectionKey = aspnetBaseKey.OpenSubKey("DataProtection.BETA6", writable: true); if (dataProtectionKey == null) { // TODO: Remove the ".BETA" moniker from here, also. - dataProtectionKey = aspnetBaseKey.CreateSubKey("DataProtection.BETA"); + dataProtectionKey = aspnetBaseKey.CreateSubKey("DataProtection.BETA6"); } // Once we've opened the HKLM reg key, return a repository which wraps it.