We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
MathanKumar
8 years agoExplorer | Level 4
need .net sample code for upload files
Hi..i need sample code for upload files to dropbox with API and also i want to integrate that in my unity application..so kindly any one give sample code for upload
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
To use the Dropbox API in .NET we recommend using the official .NET SDK if possible:
https://github.com/dropbox/dropbox-sdk-dotnet
I recommend reading through the guide there to get started.
It has methods for uploading files, such as UploadAsync:
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync.htmThere's sample code showing an upload here:
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!