I'm a little late, but no one has mentioned the BitConverter class, which is a bit of magic for you.
public static string GetHexStringFrom(byte[] byteArray) { return BitConverter.ToString(byteArray);
In addition, there are overloads that can help parse only part of the array.
source share