Reputation: 3558
How to generate hash (for instance md5) of file contained in StorageFile ? I'd like to store hash value in database and look into it to avoid duplicate files.
Upvotes: 0
Views: 531
Reputation: 3046
you can use HashAlgorithmProvider class to compute the hash
Have a look at this post so you don't get OOM for large files
Upvotes: 2