using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfBatchCardSearch();
request.Token = "Token";
request.ManagementGroup = "Management group";
var batchCardSearch = new AdministrationService.BatchCardSearch();
batchCardSearch.BatchRSN = new Guid("5016b237-ecb7-4431-8b9f-f79f6aee986c");;
batchCardSearch.PageNumber = 1;
batchCardSearch.PageSize = 50;
request.Value = batchCardSearch;
AdministrationService.ResultOfPagedCollectionOfBatchCardForDownload result = svc.SelectCardsByBatchForDownload(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}