I have this code to download all files in root directory.
It has the type ICloudDirectoryEntry.
foreach (ICloudFileSystemEntry fof in root)
Boolean bIsDirectory = fof is ICloudDirectoryEntry;
DropBoxStorage.DownloadFile(root, fof.Name, Environment.ExpandEnvironmentVariables(target));
However, in the second iteration fails: "Collection was modified;
may not run the enumeration operation."
Thank you for your attention,