Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
StorageFile に含まれるファイルのハッシュ (たとえば md5) を生成する方法は? ハッシュ値をデータベースに保存し、ファイルの重複を避けるために調べたいと思います。
HashAlgorithmProvider クラスを使用してハッシュを計算できます
http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.hashalgorithmprovider.aspx
大きなファイルの OOM を取得しないように、この投稿をご覧ください。
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/e8e538b5-1d71-4ba3-b1df-b74ec8978443