public static string getPassword() { EncryptionMD5 crypto = new EncryptionMD5(); string password = (string)((IDictionary)(ConfigurationManager.GetSection("Password")))["value"]; return(crypto.DecryptUsernamePassword(password)); }