long tick = DateTime.Now.Ticks; Random ran = new Random((int)(tick & 0xffffffffL) | (int) (tick >> 32)); int code=ran.Next(1000, 9999);
Powered by: 博客园 Copyright © 2024 zwei Powered by .NET 9.0 on Kubernetes