One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
fazalabbas
5 years agoExplorer | Level 3
how to upload image form picturebox to dropbox using api C#
Hi guys i am using dropbox api for uploading image .it works fine when i give location of image form drives.but i want to upload image form picturebox which i m using in winform app (C#).
please anybody help me.
- Greg-DB
Dropbox Staff
I'm not sure I understand your question. Can you add some more context, e.g., show what you have so far, and let us know what's not working?
For C#, we recommend using the official Dropbox API v2 .NET SDK if you can. With that, you can upload files using the upload methods, such as UploadAsync. You supply a Stream of the file data to upload to the 'body' parameter. Exactly where you get that Stream from is up to you. There's an example of using that method here.
If you're having trouble getting something working, the following can be helpful:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s)
- the full text of any error or unexpected output
About Discuss Dropbox Developer & API
Make connections with other developers807 PostsLatest Activity: 5 hours ago
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 or Facebook.
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!