public bool SaveConfiguration() { try { if (!Directory.Exists (ConfigDirectory)) Directory.CreateDirectory (ConfigDirectory); SaveConfigurationToStream (ConfigDirectory + ConfigFileName); return true; } catch { return false; } }