Forum Discussion

TomášPetrlík's avatar
TomášPetrlík
Explorer | Level 4
6 years ago
Solved

Sharing / Add button

Hello. Does anyone knows a path in C# to Sharing / ADD button ? When you are trying to add a shared folder scenario.

 

dropbox.Sharing.ListFoldersAsync(); Does list the folder but I cannot find path to ADD it.

var dropbox = new DropboxClient by the way.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    It sounds like you're using the Dropbox .NET SDK and are working with shared folders. I'm not sure I fully understand your question though. Please let me know if I've misunderstood.

    The ListFoldersAsync method (along with the ListFoldersContinueAsync method) will list all of the shared folders that a user has access to, including ones that aren't currently added or "mounted" in the user's account.

    To add or "mount" an unmounted shared folder, you should use the MountFolderAsync method.

    • TomášPetrlík's avatar
      TomášPetrlík
      Explorer | Level 4

      Yes I believe that it´s called mount and it should do what I needed. I will test it tommorow. Thank you a lot for your answer and time. I was looking for ,,add,, all over the documentation.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 18 hours ago
351 Following

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!