Table of Contents

Class ZipWriter

Namespace
SharpCompress.Writers.Zip
Assembly
SharpCompress.dll
public class ZipWriter : AbstractWriter, IWriter, IDisposable
Inheritance
ZipWriter
Implements
Inherited Members
Extension Methods

Constructors

ZipWriter(Stream, ZipWriterOptions)

public ZipWriter(Stream destination, ZipWriterOptions zipWriterOptions)

Parameters

destination Stream
zipWriterOptions ZipWriterOptions

Methods

Dispose(bool)

protected override void Dispose(bool isDisposing)

Parameters

isDisposing bool

Write(string, Stream, ZipWriterEntryOptions)

public void Write(string entryPath, Stream source, ZipWriterEntryOptions zipWriterEntryOptions)

Parameters

entryPath string
source Stream
zipWriterEntryOptions ZipWriterEntryOptions

Write(string, Stream, DateTime?)

public override void Write(string entryPath, Stream source, DateTime? modificationTime)

Parameters

entryPath string
source Stream
modificationTime DateTime?

WriteToStream(string, ZipWriterEntryOptions)

public Stream WriteToStream(string entryPath, ZipWriterEntryOptions options)

Parameters

entryPath string
options ZipWriterEntryOptions

Returns

Stream