public static int GetRandomSeed()
        {
            byte[] bytes = new byte[4];
            System.Security.Cryptography.RNGCryptoServiceProvider rng = new System.Security.Cryptography.RNGCryptoServiceProvider();
            rng.GetBytes(bytes);
            return BitConverter.ToInt32(bytes, 0);
        }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2021-08-30
  • 2021-09-21
  • 2021-09-05
  • 2022-01-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-22
  • 2021-09-03
  • 2022-12-23
  • 2022-02-09
  • 2021-12-06
  • 2022-02-19
相关资源
相似解决方案