public void Protect(string key, string value) { var editor = _preferences.Edit(); editor.PutString(key, value); editor.Commit(); }