Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Users of a Universal App can share data between them on the same physical machine.
With a proper synchronization mechanism, this method could also be used to communicate with a regular desktop app.
This feature is disabled by default and ApplicationData.Current.SharedLocalFolder will always return "null".
How to use:
[csharp]
Storage folder = ApplicationData.Current.SharedLocalFolder;
StorageFile file = await folder.CreateFileAsync("Test.txt");
await FileIO.WriteTextAsync(file, "Hello world!");
[/csharp]
Please sign in to use this experience.
Sign in