// 変換例 public static string FromHexString(string str) { StringBuilder sb = new StringBuilder(); for (int len = str.Length, p = 0; p < len; p += 2) { sb.Append(char.ConvertFromUtf32(Convert.ToInt32(str.Substring(p, 2), 16))); } return sb.ToString(); }