public static Guid NewGuid(System.IO.FileInfo file) { using (var stream = new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, System.IO.FileAccess.Read)) { return(NewGuid(MurmurHash3.ComputeHash128(stream))); } }
public static Guid NewGuid(byte[] data) { return(new Guid(MurmurHash3.ComputeHash128(data))); }
public static Guid NewGuid(System.IO.Stream stream) { return(NewGuid(MurmurHash3.ComputeHash128(stream))); }