public static string ByteArrayToString(byte[] bytes)
{
return String.Join(string.Empty, Array.ConvertAll(bytes, x => x.ToString("X2")));
}