Class GuidHelpers
Inheritance
System.Object
GuidHelpers
Namespace: Xamarin
Assembly: Xamarin.Helpers.dll
Syntax
public static class GuidHelpers
Methods
| Improve this Doc View SourceGuidV3(Guid, String)
Creates a version 3 GUID/UUID
by combining a given namespaceGuid and arbitrary name, hashed together using MD5.
See GuidHelpers.GuidNamespace for pre-defined namespaces.
Declaration
public static Guid GuidV3(Guid namespaceGuid, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | namespaceGuid | |
| System.String | name |
Returns
| Type | Description |
|---|---|
| System.Guid |
GuidV5(Guid, String)
Creates a version 5 GUID/UUID
by combining a given namespaceGuid and arbitrary name, hashed together using SHA-1.
See GuidHelpers.GuidNamespace for pre-defined namespaces.
Declaration
public static Guid GuidV5(Guid namespaceGuid, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | namespaceGuid | |
| System.String | name |
Returns
| Type | Description |
|---|---|
| System.Guid |