Hi,
I知 trying to create a system that can use the path to a file and then calculate the hash of the file (no matter what type)
I致e done the first part (analysing the folder to list all the files) and I found a class that can work out the hash values).


The problem that I now have is that MD5 class takes a string as a parameter. My question to this is how do take a file and copy it to string? I presume a hash uses the binary data to create the hash and not just the contents so it値l have to do more than just read the file.
Can anybody offer any suggestions as to how this could be achieved?
Many thanks.