mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-10 18:24:53 +00:00
18 lines
266 B
C#
18 lines
266 B
C#
using System;
|
|
|
|
namespace ICD.Common.Utils
|
|
{
|
|
public static class GuidUtils
|
|
{
|
|
public static Guid GenerateSeeded(int seed)
|
|
{
|
|
Random seeded = new Random(seed);
|
|
byte[] bytes = new byte[16];
|
|
|
|
seeded.NextBytes(bytes);
|
|
|
|
return new Guid(bytes);
|
|
}
|
|
}
|
|
}
|