You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
file io
About this tag
File I/O in Universal Windows Platform (UWP) apps involves reading and writing data to files, but developers often encounter access restrictions due to the app sandbox. Common issues include UnauthorizedAccessException when trying to save to files in the app's installed location, as reading is permitted but writing is not. To share local app data between apps or users, UWP provides mechanisms like shared storage folders or the DataTransferManager. Understanding file permissions and using appropriate APIs such as Windows.Storage.FileIO and ApplicationData is essential for reliable file operations in Windows apps.
Link Removed
0
I can't save any changes to the text file settings.txt , but reading the file works.
The code is
private async void LedShow_Loaded(object sender, RoutedEventArgs e)
{
var path = @"settings.txt";
var folder =...
In the first installment of this blog series we looked at the various options at your disposal to store your app’s local data. In this post we will be looking at how that local data can be shared, both between apps and users.
When an app is installed, the system creates a per-user app data...
app development
app sharing
application data
backup
cross-user sharing
data access
fileiofile management
group policy
local data
publisher cache
registry
sandbox
shared local
storage
storagefolder
user data
uwp
windows 10
windows apps