Adds an entry to the current zip file.

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

Syntax

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

Parameters

fileName
Type: System..::..String
Name of the file to add to the zip file.

Remarks

By default, the directory name is not stored in the zip file. To store a specific part of the directory name in the zip file, use the overloaded version of the Add method with a pathLevels parameter.

See Also