You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
The line that I highlighted will not give you a valid Time UUID, because the Environment.TickCount is the system uptime, not the elapsed time since the Gregorian Calendar started as defined in the Type 1 UUID specification.
I was looking at the following code:
http://github.com/tlaukkan/mono-uuid-generator/blob/master/UUIDTimer.cs#L184
The line that I highlighted will not give you a valid Time UUID, because the Environment.TickCount is the system uptime, not the elapsed time since the Gregorian Calendar started as defined in the Type 1 UUID specification.
http://msdn.microsoft.com/en-us/library/system.environment.tickcount.aspx
I think you want something more equivalent to what I did here:
http://github.com/managedfusion/fluentcassandra/blob/master/FluentCassandra/GuidGenerator.cs#L64
Hope this helps, I look forward to scrapping my GUID generator for yours in the future.
The text was updated successfully, but these errors were encountered: