I am going to add a small detail, that hopefully will prevent headaches for people that work with Guids and ByteArrays.
Careful when you use Guid.ToByteArray the order of bytes is different from the string representation of the string value. Specifically if you want to create one with the same order you need to do the following (simplified)
I am going to add a small detail, that hopefully will prevent headaches for people that work with Guids and ByteArrays.
Careful when you use Guid.ToByteArray the order of bytes is different from the string representation of the string value. Specifically if you want to create one with the same order you need to do the following (simplified)