ZipEntry Constructor (String)

SharpZip Compression Library

SharpZip Compression Library

ZipEntry Constructor (String)

Creates a zip entry with the given name.

public ZipEntry(
   string name
);

Parameters

name
The name for this entry. Can include directory components. The convention for names is 'unix' style paths with no device names and path elements separated by '/' characters. This is not enforced see CleanName on how to ensure names are valid if this is desired.

Exceptions

Exception Type Condition
ArgumentNullException The name passed is null

See Also

ZipEntry Class | ICSharpCode.SharpZipLib.Zip Namespace | ZipEntry Constructor Overload List