Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello every one,

I have a link to a publicly shared onedrive folder..

How can I use this link to programmatically with C# from WPF application to iterate over its content and download one of the files?

What I have tried:

I tried cloudRail API but couldn't make it work, there is no tutorials and their documentation link is broken!

I tried googling but proposed answers doesn't do what I need!
Posted
Updated 28-Nov-19 0:55am
Comments
ZurdoDev 26-Nov-19 10:47am    
I would start here, Microsoft OneDrive Dev Center[^]

1 solution

I'd start here: OneDrive Files Sample Code - OneDrive dev center | Microsoft Docs[^]

There you'll find the samples (i.e. OneDrive Explorer (Windows/C#)), which are available on GitHub in the OneDrive organization.

Good luck!
 
Share this answer
 
Comments
Ahmad_kelany 28-Nov-19 7:06am    
Thanks for the reply,

I tried that, but apparently this is very old and not how things work now, the code from Github simply doesn't work, it doesn't allow me to sign into my OneDrive, nor does it allow using the api without signing in.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900