K. Ravinder Reddy

Hi All, I have two hash values that are stored in two seperate byte arrays for ex bytearray1[], bytearray2[]. Now I want to compare these two hash values. How can I do this. I tried by using bytearra1[].ToString() method but it is returning System.Byte[] for both arrays. Please help me out.


Re: .NET Base Class Library How to compare two hash values that are stored in two seperate byte[]

Manju Sandhu

Hi,

What exactly you want to do.

Compare two byte array or you just want to comapre two values at any index of array.

i.e. you want to find that this two values are equal or not.

Please ellobrate it bit.

Regards,

Manju Sandhu





Re: .NET Base Class Library How to compare two hash values that are stored in two seperate byte[]

K. Ravinder Reddy

I want to compare two byte arrays. I found how to do that. Here is the example code.

Here is the way for how to do that.

http://support.microsoft.com/kb/307020