2012-11-09 20 views

回答

0

Dropbox API目前没有任何方式以编程方式获取共享文件夹成员列表。

0

对于.Net使用Spring Social dropbox framework。他们已经提供了一些例子。在其中的一个例子中,他们提供了列出特定类型的所有文件的代码。

附加代码:

//After creating dropbox service use the following code 
//Following code searches the root folder, file of type "all" including subfolders 
//To search a particular folder write the path in the first parameter of SearchAsync Method 
//To list only "txt" files write ".txt" for the second parameter

dropbox.SearchAsync("", ".").ContinueWith(task => 
{      
Console.WriteLine(task.Result.Count); 
    foreach (Entry file in task.Result) 
    { 
      Console.WriteLine(file.Path); //prints path 
    } 
}); 

相关问题