// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { ReplaceURL form = new ReplaceURL(); byte[] pdf = form.CreatePdf(); zip.AddEntry(RESULT1, pdf); zip.AddEntry(RESULT2, form.ManipulatePdf(pdf)); zip.Save(stream); } }