public bool Contains(string resource, string userName) { try { CurrentVault.Retrieve(resource, userName); return(true); } catch { return(false); } }
public void RemoveCredential(string resource, string userName) { CurrentVault.Remove(CurrentVault.Retrieve(resource, userName)); }
public string RetrievePassword(string resource, string userName) { return(CurrentVault.Retrieve(resource, userName).Password); }