GuidExtensionsToRfcBytes(Guid) Method

Encodes a Guid following RFC 4122.

Definition

Namespace: Gemstone.GuidExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.176 -- Release Build+c74560d581224bfee7a285d73926fb4fb3df8ece
public static byte[] ToRfcBytes(
	this Guid guid
)

Parameters

guid  Guid
Guid to serialize.

Return Value

Byte
A Byte array that represents a big-endian encoded Guid.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Guid. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also