So far we’ve covered the following topics in the Dropbox series:
Part 1: Authentication
Part 2: API Requests
Part 3: Create, Delete and Move Folders
Once you are authenticated you can make API requests such as requesting your account information, creating, deleting folders…etc. One particular type of request is downloading a file from your Dropbox account. Once you’ve worked your way through the previous 3 parts this becomes trivially easy.
If you want to follow along go to the download page and download the code for the third part (article #65). Unzip it and open it up in Visual Studio.
A New Method
Let’s add a new method to the DropboxApi type called DownloadFile(…).
public FileSystemInfo DownloadFile(string root, string path)
{
// ...
}
Read more: .NET Zone
QR:
0 comments:
Post a Comment