AddStream() api???

Aug 31, 2010 at 4:04 AM

I'm using the .Reduced.dll lib, does anyone know if there is a way to add a stream to the ZipFile without reading the file from disc?

Something like:

ZipFile file = new ZipFile())
{
    using (Stream ms = new MemoryStream())
    {
        serializer.Serialize(ms, obj);
        file.AddStream(fs);
    }
}
Coordinator
Aug 31, 2010 at 1:26 PM
ZipFile.AddEntry() . It's in the manual.