ASP.NET | Calcolare il CRC32 di un file
Protected Function Crc32(ByVal FileName As String) As String Dim _fileStream As New IO.FileStream(FileName, IO.FileMode.Open, IO.FileAccess.Read) Dim _sha1 As New System.Security.Cryptography.SHA1CryptoServiceProvider _sha1.ComputeHash(_fileStream) Dim _hash() As Byte = _sha1.Hash Dim _buffer As…