public void DeleteRequest(SafetyNetInfo info) { using (SafetyNetRegKeyStore safetyNetRegKeyStore = new SafetyNetRegKeyStore(this.m_dbGuidStr, this.m_dbName)) { safetyNetRegKeyStore.DeleteRequest(info); } }
public SafetyNetInfo ReadRequestInfo(SafetyNetRequestKey requestKey, SafetyNetInfo prevInfo) { SafetyNetInfo result; using (SafetyNetRegKeyStore safetyNetRegKeyStore = new SafetyNetRegKeyStore(this.m_dbGuidStr, this.m_dbName)) { result = safetyNetRegKeyStore.ReadRequestInfo(requestKey, prevInfo); } return(result); }
public IEnumerable <SafetyNetRequestKey> ReadRequestKeys() { string[] valueNames = null; using (SafetyNetRegKeyStore safetyNetRegKeyStore = new SafetyNetRegKeyStore(this.m_dbGuidStr, this.m_dbName)) { valueNames = safetyNetRegKeyStore.ReadRequestKeyNames(); } foreach (string valueName in valueNames) { yield return(SafetyNetRequestKey.Parse(valueName)); } yield break; }