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

Popular posts from this blog

java - Unable to make sub reports with Jasper -

Save and close a word document by giving a name in R -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -