Ejemplo n.º 1
0
 // Token: 0x060009DF RID: 2527 RVA: 0x0002C650 File Offset: 0x0002A850
 private static void ReadConfigData()
 {
     using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Services\\MSExchange ADAccess\\Parameters"))
     {
         DirectoryThrottlingLog.loggingEnabled  = new bool?(DirectoryLogUtils.GetRegistryBool(registryKey, "DirectoryThrottlingLogEnabled", true));
         DirectoryThrottlingLog.countOfDCsToLog = DirectoryLogUtils.GetRegistryInt(registryKey, "DirectoryThrottlingNumberOfDCsToLog", 5);
     }
 }
Ejemplo n.º 2
0
 // Token: 0x060009D8 RID: 2520 RVA: 0x0002C444 File Offset: 0x0002A644
 public void Configure()
 {
     if (!base.IsDisposed)
     {
         lock (this.logLock)
         {
             this.log.Configure(Path.Combine(DirectoryLogUtils.GetExchangeInstallPath(), "Logging\\DirectoryThrottling\\"), TimeSpan.FromDays(30.0), 104857600L, 104857600L, 10485760, TimeSpan.FromSeconds(10.0), true);
         }
     }
 }