Esempio n. 1
0
        private static string get_pwd(string user)
        {
            XElement x = pwds.LoadConfig(user);

            if (null == x)
            {
                return(pwds.GetHashCode().ToString());    //just a difficult password to guess
            }
            else
            {
                return(x.Element("sn").Value);
            }
        }