StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/abc.txt"));
Stream stream1 = await file.OpenStreamForWriteAsync();
StreamWriter sr1 = new StreamWriter(stream1);
它与 StreamReader 一起工作得很好。它有一个例外说
Access denied due to security concerns.
如何更正此代码?提前致谢。