Hello,
If you need to read files from DropBox or NetDisk, you need to use the API provided by the NetDisk service provider to realize this function.
For Dropbox you can refer to the section on downloading files in the official .net API documentation provided by DropBox.
//To download a file:
async Task Download(DropboxClient dbx, string folder, string file)
{
using (var response = await dbx.Files.DownloadAsync(folder + "/" + file))
{
Console.WriteLine(await response.GetContentAsStringAsync());
}
}
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our [documentation][1] to enable e-mail notifications if you want to receive the related email notification for this thread.