get sha1 of file csharp
Code Example - get sha1 of file csharp
FileStream fop = File.OpenRead(@"C:\test.bin");
string hash = BitConverter.ToString(System.Security.Cryptography.SHA1.Create().ComputeHash(fop));