Ejemplo n.º 1
0
        /// <summary>
        /// Provide a user suffix to be used for the user creation and the email activation processing
        ///
        /// </summary>
        /// <returns>
        ///    String with the pattern {MONTH 2 digits}{DAY 2 digits}_{HOUR 24h 2 digits}{MIN 2 digits}{SEC 2 digits}
        /// </returns>
        public static string GetNewUserSuffix()
        {
            string id = "";

            id += DataGen.GenerateRandomChar();
            id += DataGen.GenerateRandomChar();
            return(id + DateTime.Now.ToString("MMdd_hhmmss"));
        }