G
Giuseppe
i must compare 2 files who are on two different pc
i try to calculare "HASH" but is different beetween PC1 AND PC2....
I TEST THIS CODE :
Dim _Sha1 As SHA1 = SHA1.Create
Dim Fs As FileStream
Fs = New FileStream(filename, FileMode.Open)
Return BytesToHex(_Sha1.ComputeHash(Fs))
OR
WITH MD5CryptoServiceProvider
But not it works....
why?
i try to calculare "HASH" but is different beetween PC1 AND PC2....
I TEST THIS CODE :
Dim _Sha1 As SHA1 = SHA1.Create
Dim Fs As FileStream
Fs = New FileStream(filename, FileMode.Open)
Return BytesToHex(_Sha1.ComputeHash(Fs))
OR
WITH MD5CryptoServiceProvider
But not it works....
why?