internal static string ToBinHexString(byte[] inArray) { return(BinHexEncoder.EncodeToBinHex(inArray, 0, inArray.Length)); }