What is the FolderRelativeId for a storage item?

This is written on MSDN :

The identifier of the current item. This identifier is unique to the query result or StorageFolder that contains the item and can be used to distinguish between items that have the same name.

But it is still not clear to me. Can I use it as a unique identifier to help me compare the equality of any two given files?

+3


source to share


1 answer


Here's a great article on FolderRelativeId . This is basically a unique identifier for the file.

There is a difference between a file with the same name and a file that is an exact copy of another file (which must have the same FolderRelativeId).




A good use for such an identifier is when you are updating a huge program. Why copy files from the new update if they are already on the disk that match exactly, just skip this file and move on to the next one.

+1


source







All Articles