'Can I use system.io in uwp for external folders when I get access by picker?
I want to use DirectoryInfo and Fileinfo in uwp for external folders on windows 10. First, I select folder by picker and get access for StorageFolder. Next I try to set, for example, LastWriteTime:
DirectoryInfo directoryInfo = new DirectoryInfo(storageFolder.Path);
directoryInfo.LastWriteTime = DateTime.Now;
It works for local app folders, but for external folders I recieve error "Access to the path -||- is denied". Is it generally possible what I want? Are there any workarounds?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
