This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class CombGuid | |
{ | |
public static readonly Guid Empty = Guid.Parse("00000000-0000-0000-0000-000000000000"); | |
private static readonly Func<Guid> GeneratorCore = () => | |
{ | |
var destinationArray = Guid.NewGuid().ToByteArray(); | |
var time = new DateTime(1900, 1, 1); | |
var now = DateTime.UtcNow; | |
var span = new TimeSpan(now.Ticks - time.Ticks); |