title: Combine multiple byte[] to one multi page Base64
body: <p>I am reading SQL Reports from c#. The report only accepts one subscription Guid at a time.</p>
  <pre><code>   private byte[] GetCertificate(Guid sub)
      {
          var parameters = new[]
          {
              new ParameterValue {Name = &quot;SubscriptionID&quot;, Value = sub.ToString()}
          };
  
          return ReportServices.Generate(&quot;/Reports/Certificate&quot;, parameters);
      }
  
      private byte[] GetCertificates(List&lt;EntityReference&gt; subscriptions)
      {
          var bytes = new List&lt;byte&gt;();
          foreach (var sub in subscriptions)
          {
              bytes.AddRange(GetCertificate(sub.Id));
          }
          return bytes.ToArray();
      }
  
     AdditionalDocBase64 = Convert.ToBase64String(GetCertificates(subscriptions))
  </code></pre>
  <p>I need to combine these Certificates into one Base64String. However, when I do this it only creates one PDF wheres there can be multiple.</p>