コード例 #1
0
 internal virtual void Load()
 {
     OwaRegistryKeys.Initialize();
     OwaConfigurationManager.CreateAndLoadConfigurationManager();
     this.ReadServerCulture();
     this.InitializeLocalVersionFolders();
     this.ReadAutoSaveInterval();
     this.ReadChangeExpiredPasswordEnabled();
 }
コード例 #2
0
 // Token: 0x0600106F RID: 4207 RVA: 0x00064B50 File Offset: 0x00062D50
 public static void Initialize()
 {
     ExTraceGlobals.CoreCallTracer.TraceDebug(0L, "OwaRegistryKeys.Initialize");
     for (int i = 0; i < OwaRegistryKeys.keyPaths.Length; i++)
     {
         using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(OwaRegistryKeys.keyPaths[i]))
         {
             if (registryKey != null)
             {
                 foreach (OwaRegistryKey owaRegistryKey in OwaRegistryKeys.keys[i])
                 {
                     OwaRegistryKeys.keyValueCache[owaRegistryKey] = OwaRegistryKeys.ReadKeyValue(registryKey, owaRegistryKey);
                 }
             }
         }
     }
 }