Get all files recursively from onedrive using Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-2354451%22%20slang%3D%22en-US%22%3EGet%20all%20files%20recursively%20from%20onedrive%20using%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2354451%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20to%20get%20all%20files%20from%20a%20given%20folder%20and%20its%20children%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20best%20way%20to%20achieve%20this%20with%20C%23.%3CBR%20%2F%3EUsing%20a%20tree%20traverse%20algorithm%20or%20are%20there%20other%20easier%20or%20better%20performant%20ways.%3CBR%20%2F%3EAn%20example%20would%20be%20nice.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBarry%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

How to get all files from a given folder and its children?

 

What is the best way to achieve this with C#.
Using a tree traverse algorithm or are there other easier or better performant ways.
An example would be nice.

 

Thanks.

 

Barry

 

 

0 Replies