/// <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(); }
/// <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()); }