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("bc0c4496-a7ca-4fb1-a11a-d288534913af");;
batchCardSearch.PageNumber = 1;
batchCardSearch.PageSize = 50;
request.Value = batchCardSearch;
AdministrationService.ResultOfPagedCollectionOfBatchCard result = svc.SelectCardsByBatch(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}