Exemple #1
0
 // Token: 0x060009E0 RID: 2528 RVA: 0x0002C6B0 File Offset: 0x0002A8B0
 private static void UpdateConfigIfChanged(object state)
 {
     if (DirectoryThrottlingLog.registryWatcher.IsChanged())
     {
         DirectoryThrottlingLog.ReadConfigData();
     }
 }
Exemple #2
0
 // Token: 0x060009D6 RID: 2518 RVA: 0x0002C38C File Offset: 0x0002A58C
 private DirectoryThrottlingLog()
 {
     this.logSchema = new LogSchema("Microsoft Exchange AD Throttling", Assembly.GetExecutingAssembly().GetName().Version.ToString(), "Directory Throttling Log", Enum.GetNames(typeof(DirectoryThrottlingLog.DirectoryThrottlingLogFields)));
     this.log       = new Log(DirectoryThrottlingLog.FileNamePrefixName, new LogHeaderFormatter(this.logSchema, true), "DirectoryThrottling");
     DirectoryThrottlingLog.ReadConfigData();
     DirectoryThrottlingLog.registryWatcher = new RegistryWatcher("SYSTEM\\CurrentControlSet\\Services\\MSExchange ADAccess\\Parameters", false);
     DirectoryThrottlingLog.timer           = new Timer(new TimerCallback(DirectoryThrottlingLog.UpdateConfigIfChanged), null, 0, 300000);
     this.Configure();
 }