public static bool SettingsAreValid()
{
PListConfig config = new PListConfig("Library/ServerPreferences.plist");
string str = config["Maint UserName"];
string str2 = config["Maint Server"];
string str3 = config["Maint database name"];
string str4 = config["Maint Timeout"];
string str5 = config["Maint port number"];
return ((((str.Length != 0) && (str2.Length != 0)) && ((str3.Length != 0) && (str4.Length != 0))) && (str5.Length != 0));
}