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); } } } } }
private static uint GetUIntValue(OwaRegistryKey key) { return(OwaRegistryKeys.GetValue <uint>(key)); }
private static bool GetBoolValue(OwaRegistryKey key) { return(OwaRegistryKeys.GetValue <bool>(key)); }
private static string GetStringValue(OwaRegistryKey key) { return(OwaRegistryKeys.GetValue <string>(key)); }
// 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(); }
// Token: 0x0600033D RID: 829 RVA: 0x0000CFCE File Offset: 0x0000B1CE protected BaseApplication() { this.applicationStopwatch.Start(); OwaRegistryKeys.Initialize(); }