Initializes a new instance of the C1ZipFile class and opens a zip stream associated with this new instance.

Namespace:  C1.C1Zip
Assembly:  C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)

Syntax

C#
public C1ZipFile(
	Stream stream,
	bool create
)
Visual Basic
Public Sub New ( _
	stream As Stream, _
	create As Boolean _
)

Parameters

stream
Type: System.IO..::..Stream
Stream that contains the zip data.
create
Type: System..::..Boolean
Whether to initialize the stream with an empty zip header or open an existing zip file in the stream.

See Also