Initializes a new instance of the C1ZipFile class and creates or opens
a zip file associated with this new instance.
Namespace:
C1.C1ZipAssembly: C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)
Syntax
C# |
---|
public C1ZipFile( string fileName, bool create ) |
Visual Basic |
---|
Public Sub New ( _ fileName As String, _ create As Boolean _ ) |
Parameters
- fileName
- Type: System..::..String
The name of the zip file to open or create.
- create
- Type: System..::..Boolean
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.