/// <summary> /// Get the report contents. /// </summary> /// <param name="reportId"> /// The report ID returned from <see cref="CreateScanReport"/>. /// </param> /// <exception cref="CheckmarxErrorException"> /// The Checkmarx API returned an unexpected error. /// </exception> /// <exception cref="CheckmarxCommunicationException"> /// An error occurred communicating with the Checkmarx server. /// </exception> public byte[] GetScanReport(long reportId) { return(CallCheckmarxApi(() => SoapClient.GetScanReport(SessionId, reportId)).ScanResults); }