Identifier
Static Class in Zigurous.Architecture
Declaration
public static class Identifier
Description
Generates identifiers.
Static Methods
Guid | Generates a GUID string in a format similar to the following "0f8fad5b-d9cb-469f-a165-70867728950e". |
SerialNumber | Generates a serial number of the specified length in a format similar to the following "4935E22CD7854C15". |
UnixTime | Creates an identifier based on unix time. Since time is always increasing, this value will be different than generations made in previous cycles. This should not be used to guarantee uniqueness since ids generated within the same cycle will usually be identical. |