// Token: 0x06000B79 RID: 2937 RVA: 0x00032BCC File Offset: 0x00030DCC public RegistryStateIO(string machineName, string identity, bool fLocks) { this.m_machineName = machineName; this.m_identity = identity; this.m_fStateLock = fLocks; if (fLocks) { this.m_registryKey = string.Format("SOFTWARE\\Microsoft\\ExchangeServer\\v15\\Replay\\StateLock\\{0}", identity); } else { this.m_registryKey = string.Format("SOFTWARE\\Microsoft\\ExchangeServer\\v15\\Replay\\State\\{0}", identity); } this.m_key = RegistryStateIO.OpenRemoteKey(machineName, this.m_registryKey); }
// Token: 0x06000B7B RID: 2939 RVA: 0x00032D7C File Offset: 0x00030F7C public override void DeleteState() { RegistryStateIO.trace.TraceDebug <string>((long)this.GetHashCode(), "DeleteState: {0}", this.m_registryKey); if (this.m_fStateLock) { using (RegistryKey registryKey = RegistryStateIO.OpenRemoteKey(this.m_machineName, "SOFTWARE\\Microsoft\\ExchangeServer\\v15\\Replay\\StateLock")) { registryKey.DeleteSubKeyTree(this.m_identity); return; } } using (RegistryKey registryKey2 = RegistryStateIO.OpenRemoteKey(this.m_machineName, "SOFTWARE\\Microsoft\\ExchangeServer\\v15\\Replay\\State")) { registryKey2.DeleteSubKeyTree(this.m_identity); } }