GuidUtility.Create method (1 of 4)

Creates a name-based UUID using the algorithm from RFC 4122 §4.3.

public static Guid Create(Guid namespaceId, byte[] nameBytes)
parameter description
namespaceId The ID of the namespace.
nameBytes The name (within that namespace).

Return Value

A UUID derived from the namespace and name.

See Also


GuidUtility.Create method (2 of 4)

Creates a name-based UUID using the algorithm from RFC 4122 §4.3.

public static Guid Create(Guid namespaceId, string name)
parameter description
namespaceId The ID of the namespace.
name The name (within that namespace).

Return Value

A UUID derived from the namespace and name.

See Also


GuidUtility.Create method (3 of 4)

Creates a name-based UUID using the algorithm from RFC 4122 §4.3.

public static Guid Create(Guid namespaceId, byte[] nameBytes, int version)
parameter description
namespaceId The ID of the namespace.
nameBytes The name (within that namespace).
version The version number of the UUID to create; this value must be either 3 (for MD5 hashing) or 5 (for SHA-1 hashing).

Return Value

A UUID derived from the namespace and name.

See Also


GuidUtility.Create method (4 of 4)

Creates a name-based UUID using the algorithm from RFC 4122 §4.3.

public static Guid Create(Guid namespaceId, string name, int version)
parameter description
namespaceId The ID of the namespace.
name The name (within that namespace).
version The version number of the UUID to create; this value must be either 3 (for MD5 hashing) or 5 (for SHA-1 hashing).

Return Value

A UUID derived from the namespace and name.

See Also