Ejemplo n.º 1
0
        public static string Random(int from, int to)
        {
            Random rd = new Random();
            int    i  = rd.Next(from, to);

            return(Encrypt.CryptoMD5(i.ToString() +
                                     DateTime.Now.Day.ToString() +
                                     DateTime.Now.Month.ToString() +
                                     DateTime.Now.Year.ToString() +
                                     DateTime.Now.Hour.ToString() +
                                     DateTime.Now.Minute.ToString() +
                                     DateTime.Now.Second.ToString() +
                                     DateTime.Now.Millisecond.ToString()));
        }