FileStream fop = File.OpenRead(@"C: est.bin"); string hash = BitConverter.ToString(System.Security.Cryptography.SHA1.Create().ComputeHash(fop));