Browse Source

NumberUtility:使用 Guid 生成初始 Random 种子。

master
王厅 1 month ago
parent
commit
12969a828b
  1. 2
      Apewer/NumberUtility.cs

2
Apewer/NumberUtility.cs

@ -16,7 +16,7 @@ namespace Apewer
#region 随机数。
/// <summary>用于生成随机数的时钟位置。</summary>
private static int RandomSeed = 327680;
private static int RandomSeed = Guid.NewGuid().ToString().GetHashCode();
private static void RandomInit()
{

Loading…
Cancel
Save