ComponentOne Zip for .NET
C1ZipFile Constructor(String,Boolean)

C1.C1Zip.4 Assembly > C1.C1Zip Namespace > C1ZipFile Class > C1ZipFile Constructor : C1ZipFile Constructor(String,Boolean)
The name of the zip file to open or create.
True to create a new zip file, false to open an existing file.
Initializes a new instance of the C1ZipFile class and creates or opens a zip file associated with this new instance.
Syntax
Public Function New( _
   ByVal fileName As String, _
   ByVal create As Boolean _
)
public C1ZipFile( 
   string fileName,
   bool create
)

Parameters

fileName
The name of the zip file to open or create.
create
True to create a new zip file, false to open an existing file.
Remarks

If create is true and the zip file already exists, it is overwritten with a new empty file.

If create is false and the zip file already exists, the existing file is opened.

See Also

Reference

C1ZipFile Class
C1ZipFile Members
Overload List