Method ToBytes
ToBytes(Guid, GuidRepresentation)
Converts a Guid to a byte array.
public static byte[] ToBytes(Guid guid, GuidRepresentation guidRepresentation)
Parameters
guid
GuidThe Guid.
guidRepresentation
GuidRepresentationThe representation of the Guid in the byte array.
Returns
- byte[]
A byte array.