Browse by Tags

Tagged Content List
  • Blog Post: FAQ Item 1: How to generate Md5 hash string for a file.

    using System.Security.Cryptography; .... FileStream file = new FileStream (fileName, FileMode .Open); MD5 md5 = new MD5CryptoServiceProvider (); byte [] result = md5.ComputeHash(file); file.Close(); string md5Hash = Convert .ToBase64String(result); ....
Page 1 of 1 (1 items)