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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -