Exemple #1
0
        public static String GetRandomLinkResetPsw()
        {
            //String verifyPath = MailConfiguration.GetInstance().AppSettings["server_pathverify"].ToString();
            String clave = MD5Encryption.GetInstance().Encypt(Guid.NewGuid().ToString());

            return(getVerifyPathResetPsw() + clave);
        }
Exemple #2
0
        /// <summary>
        /// Method with lazy instantiation.
        /// </summary>
        /// <returns></returns>
        public static MD5Encryption GetInstance()
        {
            if (md5Encryption == null)
            {
                md5Encryption = new MD5Encryption();
            }

            return(md5Encryption);
        }