I have two byte arrays with the exact same content. I tried:
if (bytearray1 == bytearray2) {...} else {...}
and
if (Array.Equals(bytearray1, bytearray2)) {....} else {...}
All time it goes to the else! I don't know why! I checked both arrays manually several times!!!