Opens an existing zip file.

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

Syntax

C#
public void Open(
	string fileName
)
Visual Basic
Public Sub Open ( _
	fileName As String _
)

Parameters

fileName
Type: System..::..String
The name of an existing zip file, including the path.

Remarks

This method checks that the zip file exists and is a valid zip file, then reads the zip file directory into the Entries collection. The zip file is then closed, and can be used by other applications. There is no need to close the zip file explicitly.

See Also