📜  获取文件的sha1 c#代码示例

📅  最后修改于: 2022-03-11 14:49:12.987000             🧑  作者: Mango

代码示例2
FileStream fop = File.OpenRead(@"C:\test.bin");
string hash = BitConverter.ToString(System.Security.Cryptography.SHA1.Create().ComputeHash(fop));