title: How to search by file hash using OneDrive SDK
body: <p>Part of a program I'm writing needs to connect to OneDrive and de-duplicate files (there's a folder that has lots of files, many of which are also found elsewhere in the user's OneDrive, possibly under a different file name).</p>
  
  <p>So given a particular file, I need a way to search for duplicates (and if they exist, I'll delete the first file). OneDrive provides a file hash; I just need to be able to search by that to find dupes.</p>
  
  <p>The OneDrive Explorer C# sample (<a href="https://github.com/OneDrive/onedrive-explorer-win" rel="nofollow">https://github.com/OneDrive/onedrive-explorer-win</a>) shows how to implement search, but the search seems only index file names, contents, and tags -- not hashes.</p>
  
  <p>Any way to search by hash? Otherwise I suppose I'll need to recursively go through every item in the user's OneDrive and compare the hash...</p>