c# - Storing and retrieving downloaded files -
i have created local folder downloading files using followling code
storagefile destinationfile; storagefolder local = windows.storage.applicationdata.current.localfolder; var datafolder = await local.createfolderasync("appdownloads", creationcollisionoption.openifexists); destinationfile = await datafolder.createfileasync(destination, creationcollisionoption.generateuniquename);
now need access downloaded files sub folder created.
i have tried using:
storagefolder local = windows.storage.applicationdata.current.localfolder; istoragefolder datafolder1 = await local.getfolderasync("appdownloads"); ienumerable<istoragefile> files = await local.getfilesasync();
but not working.how downloaded files folder ?
thank you.
Comments
Post a Comment