public async Task SaveAsync(string filename, string content) { if (filename == null) { throw new ArgumentNullException("filename"); } if (content == null) { throw new ArgumentNullException("content"); } await WinIsolatedStorage.AppendTextAsync(filename, content); }
public async Task DeleteAsync(string filename) { await WinIsolatedStorage.DeleteAsync(filename); await WinIsolatedStorage.AppendTextAsync(filename, string.Empty); }