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

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -