Home

How to download a file into byte array in c# from oneDrive

Deleted
Not applicable

hi,

we have file handler for oneDrive , we are getting graph api url using 

var url = Request.Form["items"];

in End Point application. We are using following code to find the file

 

var request = graphClient.Shares[url];
var foundFile = await request.Request().GetAsync();

But i'm getting json object with file information. i want to get this file into byte array, how can i do it?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies