Esempio n. 1
0
// ---------------------------------------------------------------------------
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        KubrickDvds kubrick = new KubrickDvds();
        byte[] ePdf = kubrick.CreatePdf();
        zip.AddEntry(RESULT, ePdf);
        kubrick.ExtractAttachments(ePdf, zip);
        zip.Save(stream);             
      }
    }
Esempio n. 2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                KubrickDvds kubrick = new KubrickDvds();
                byte[]      ePdf    = kubrick.CreatePdf();
                zip.AddEntry(RESULT, ePdf);
                kubrick.ExtractAttachments(ePdf, zip);
                zip.Save(stream);
            }
        }