![]() ![]() I used the below function.īut i want to execute this code only once. So when i tried to run the app i came across with UnauthorizedAccessException because both function maybe were trying to access the file the same time. IList list = await FileIO.ReadLinesAsync(storageFile) īoth functions were async so we could not determine when each function was running and which will be executed first. StorageFile = await storageFolder.CreateFileAsync("file.txt",CreationCollisionOption.OpenIfExists) It is fast, modern, highly customizable and features a Fluent Design. StorageFile = await storageFolder.CreateFileAsync("file.txt",CreationCollisionOption.ReplaceExisting) Īwait FileIO.AppendTextAsync(storageFile, "saveSomeText") īut i also had a function in MainPage that asynchronously was reading the same file StorageFolder storageFolder = Files UWP is the Explore file that Windows 10 users have been waiting for years. ![]() ![]() So i used this code StorageFolder storageFolder = A new File Explorer with a new design based on Fluent Design and UWP, with most of the features of the Windows Native File Explorer Only available for computer (Desktop and Laptop) with Windows 10. So i added an async function that handles a. It brings tabbed UI that lets you open different hard drives and folders in separate tabs which makes it quite helpful. I had to upgrade one application and put some extra functionality. Here is a free UWP file manager app for Windows 10 which is named Files. Files UWP - Preview Free at Microsoft Store A gorgeous way to manage your files This modern file explorer has tabs, a gorgeous design, and is touch and mouse friendly. ![]()
0 Comments
Leave a Reply. |