public RdbSystemSettings GetRdbSystemSettings(RdbErgebnisdienstConfigSection configSection) { var credentials = new NetworkCredential(configSection.Credentials.Benutzername, PasswordHelper.DecryptString(configSection.Credentials.EnryptedPasswort)); var baseUrl = configSection.Api.Host; RdbSystemSettings result = new RdbSystemSettings(baseUrl, credentials); result.JsonReaderService = new KeyValuePair <string, string>(configSection.Api.JsonReaderService.Key, configSection.Api.JsonReaderService.Value); result.TaskCompetitionSystem = new KeyValuePair <string, string>(configSection.Api.TaskCompetitionSystem.Key, configSection.Api.TaskCompetitionSystem.Value); result.TaskOrganisationsmanager = new KeyValuePair <string, string>(configSection.Api.TaskOrganisationsmanager.Key, configSection.Api.TaskOrganisationsmanager.Value); return(result); }