Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
' specify the path to a file and this routine will calculate your hash Public Function calcFileHash(ByVal filepath As String) As String ' open file (as read-only) Using reader As New System.IO.FileStream(filepath, IO.FileMode.Open, IO.FileAccess.Read) Using md5 As New System.Security.Cryptography.MD5CryptoServiceProvider ' hash contents of this stream Dim hash() As Byte = md5.ComputeHash(reader) ' return formatted hash Return ByteArrayToString(hash) End Using End Using End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.