public static Hashtable GetSecureHostSettings() { Hashtable h; h = (Hashtable)DataCache.GetCache("GetSecureHostSettings"); if (h == null) { h = new Hashtable(); string SettingName; IDataReader dr = DataProvider.Instance().GetHostSettings(); while (dr.Read()) { if (!Convert.ToBoolean(dr[2])) { SettingName = dr.GetString(0); if (SettingName.ToLower().IndexOf("password") == -1) { if (!dr.IsDBNull(1)) { h.Add(SettingName, dr.GetString(1)); } else { h.Add(SettingName, ""); } } } } dr.Close(); DataCache.SetCache("GetSecureHostSettings", h); } return(h); }