public static void Main()
Byte[] bytes = StringToByteArray("B7CD3FE228571D4194FE4E498AD00EA3");
Guid guid_a = new Guid(bytes);
string guid_b = "e23fcdb75728411d94fe4e498ad00ea3";
Console.WriteLine("A:{0}\nB:{1}\n", guid_a.ToString("N"), guid_b);
public static byte[] StringToByteArray(String hex)
int NumberChars = hex.Length;
byte[] bytes = new byte[NumberChars / 2];
for (int i = 0; i < NumberChars; i += 2)
bytes[i / 2] = Convert.ToByte(hex.Substring(i, 2), 16);