Beispiel #1
0
        /// <summary>
        /// Generates a 4-place sequence number randomly
        /// </summary>
        /// <returns></returns>
        public static string GenerateSequence() {
            CryptoRandom random = new CryptoRandom();
            return (random.Next(0, 10000000)).ToString();

        }
Beispiel #2
0
        /// <summary>
        /// Generates a 4-place sequence number randomly
        /// </summary>
        /// <returns></returns>
        public static string GenerateSequence()
        {
            CryptoRandom random = new CryptoRandom();

            return((random.Next(0, 10000000)).ToString());
        }