// Token: 0x06000359 RID: 857 RVA: 0x00010A98 File Offset: 0x0000EC98 public PoisonControl(PoisonControlMaster master, DatabaseInfo databaseInfo, string subKeyContainerName) { this.master = master; this.databaseInfo = databaseInfo; this.subKeyDatabaseName = databaseInfo.Guid.ToString() + "\\" + subKeyContainerName; if (this.master.RegistryKey == null) { return; } ExTraceGlobals.PoisonControlTracer.TraceDebug <PoisonControl, string, string>((long)this.GetHashCode(), "{0}: Creating registry key '{1}\\{2}'", this, this.master.RegistryKey.Name, this.subKeyDatabaseName); this.registryKeyDatabase = this.master.RegistryKey.CreateSubKey(this.subKeyDatabaseName, RegistryKeyPermissionCheck.ReadWriteSubTree); DateTime utcNow = DateTime.UtcNow; string[] subKeyNames = this.registryKeyDatabase.GetSubKeyNames(); foreach (string text in subKeyNames) { ExTraceGlobals.PoisonControlTracer.TraceDebug <PoisonControl, string, string>((long)this.GetHashCode(), "{0}: Opening registry key '{1}\\{2}'", this, this.registryKeyDatabase.Name, text); CrashData crashData = CrashData.Read(this.registryKeyDatabase, text); if (crashData == null) { ExTraceGlobals.PoisonControlTracer.TraceDebug <PoisonControl, string, string>((long)this.GetHashCode(), "{0}: Discarding registry key '{1}\\{2}' because it has no useful data", this, this.registryKeyDatabase.Name, text); this.RemoveSubKey(text); } else if (utcNow - crashData.Time > PoisonControl.MaximumKeyAge) { ExTraceGlobals.PoisonControlTracer.TraceDebug((long)this.GetHashCode(), "{0}: Discarding registry key '{1}\\{2}' because it is old ({3})", new object[] { this, this.registryKeyDatabase.Name, text, crashData.Time }); this.RemoveSubKey(text); } else { ExTraceGlobals.PoisonControlTracer.TraceDebug <PoisonControl, string, string>((long)this.GetHashCode(), "{0}: Loading registry key '{1}\\{2}'", this, this.registryKeyDatabase.Name, text); this.LoadCrashData(text, crashData.Count); } } }
// Token: 0x06000370 RID: 880 RVA: 0x00011207 File Offset: 0x0000F407 public PoisonMailboxControl(PoisonControlMaster master, DatabaseInfo databaseInfo) : base(master, databaseInfo, "Mailbox") { }
// Token: 0x06000369 RID: 873 RVA: 0x00010F80 File Offset: 0x0000F180 public PoisonEventControl(PoisonControlMaster master, DatabaseInfo databaseInfo) : base(master, databaseInfo, "Event") { }