public Task <string> GetAsync(string key) { if (string.IsNullOrWhiteSpace(key)) { throw new ArgumentNullException(nameof(key)); } var kc = new KeyChain(DefaultAccessible); var value = kc.ValueForKey(key); return(Task.FromResult(value)); }
public bool Remove(string key) { var kc = new KeyChain(DefaultAccessible); return(kc.Remove(key)); }