Esempio n. 1
0
 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);
             }
         }
     }
 }
Esempio n. 2
0
 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);
                 }
             }
         }
     }
 }
Esempio n. 3
0
 private static uint GetUIntValue(OwaRegistryKey key)
 {
     return(OwaRegistryKeys.GetValue <uint>(key));
 }
Esempio n. 4
0
 private static bool GetBoolValue(OwaRegistryKey key)
 {
     return(OwaRegistryKeys.GetValue <bool>(key));
 }
Esempio n. 5
0
 private static string GetStringValue(OwaRegistryKey key)
 {
     return(OwaRegistryKeys.GetValue <string>(key));
 }
Esempio n. 6
0
 // Token: 0x06001412 RID: 5138 RVA: 0x000484BB File Offset: 0x000466BB
 private static void UpdateCurrentOwaVersion(object source, ElapsedEventArgs e)
 {
     OwaRegistryKeys.UpdateOwaSetupVersionsCache();
     OwaVersionId.current = OwaVersionId.GetInstalledOwaVersion();
     OwaVersionId.vNext   = OwaVersionId.GetInstalledNextOwaVersion();
 }
Esempio n. 7
0
 // Token: 0x0600033D RID: 829 RVA: 0x0000CFCE File Offset: 0x0000B1CE
 protected BaseApplication()
 {
     this.applicationStopwatch.Start();
     OwaRegistryKeys.Initialize();
 }