Click or drag to resize

FileMetadata Properties

The FileMetadata type exposes the following members.

Public propertyClientModified

For files, this is the modification time set by the desktop client when the file was added to Dropbox. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not.

Public propertyContentHash

A hash of the file content. This field can be used to verify data integrity. For more information see our Content hash page.

Public propertyExportInfo

Information about format this file can be exported to. This filed must be set if IsDownloadable is set to false.

Public propertyFileLockInfo

If present, the metadata associated with the file's current lock.

Public propertyHasExplicitSharedMembers

This flag will only be present if include_has_explicit_shared_members is true in ListFolderAsync(ListFolderArg) or GetMetadataAsync(GetMetadataArg). If this flag is present, it will be true if this file has any explicit shared members. This is different from sharing_info in that this could be true in the case where a file has explicit members but is not contained within a shared folder.

Public propertyId

A unique identifier for the file.

Public propertyIsDownloadable

If true, file can be downloaded directly; else the file must be exported.

Public propertyMediaInfo

Additional information if the file is a photo or video. This field will not be set on entries returned by ListFolderAsync(ListFolderArg), ListFolderContinueAsync(ListFolderContinueArg), or GetThumbnailBatchAsync(GetThumbnailBatchArg), starting December 2, 2019.

Public propertyPropertyGroups

Additional information if the file has custom properties with the property template specified.

Public propertyRev

A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts.

Public propertyServerModified

The last time the file was modified on Dropbox.

Public propertySharingInfo

Set if this file is contained in a shared folder.

Public propertySize

The file size in bytes.

Public propertySymlinkInfo

Set if this file is a symlink.

See Also