简体   繁体   中英

Hash a file in Windows Store App c#

Is there any way to Hash a hole file in c# (metro)? Nice would be MD5.

I searched a lot, but i found nothing, can anybody help me?

All these Code samples, which i found do not work in Windows Store App!

In Windows 8(Metro) hashing algorithm are under Windows.Security.Cryptography.Core. Check this link, it contains simple example of how to hash string in C#/Metro. http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.hashalgorithmnames.md5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM