private static DatenDownloadClient CreateClient() { DatenDownloadClient client = new DatenDownloadClient("BasicHttpBinding_IDatenDownload"); client.ClientCredentials.UserName.UserName = QualifoodBenutzername; client.ClientCredentials.UserName.Password = QualifoodPassword; return(client); }
private static SchlachtdatenGV ExecuteRequest(DatenDownloadClient client) { var result = client.GetDatenDownloadGV(AbgefragtesSchlachtdatum); return(result); }