public static void UpdateOwaSetupVersionsCache()
 {
     using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(OwaRegistryKeys.OwaSetupInstallKey))
     {
         if (registryKey != null)
         {
             foreach (OwaRegistryKey owaRegistryKey in OwaRegistryKeys.keySetMap[OwaRegistryKeys.OwaSetupInstallKey])
             {
                 OwaRegistryKeys.keyValueCache[owaRegistryKey] = OwaRegistryKeys.ReadKeyValue(registryKey, owaRegistryKey);
             }
         }
     }
 }
 public static void Initialize()
 {
     ExTraceGlobals.CoreCallTracer.TraceDebug(0L, "OwaRegistryKeys.Initialize");
     foreach (string text in OwaRegistryKeys.keySetMap.Keys)
     {
         using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(text))
         {
             if (registryKey != null)
             {
                 foreach (OwaRegistryKey owaRegistryKey in OwaRegistryKeys.keySetMap[text])
                 {
                     OwaRegistryKeys.keyValueCache[owaRegistryKey] = OwaRegistryKeys.ReadKeyValue(registryKey, owaRegistryKey);
                 }
             }
         }
     }
 }