Name Property

DotNetZip

Ionic Zip Library v1.9.1.6 Name Property
ReferenceIonic.ZipZipFileName
The name of the ZipFile, on disk.
Declaration Syntax
C# Visual Basic Visual C++
public string Name { get; set; }
Public Property Name As String
	Get
	Set
public:
property String^ Name {
	String^ get ();
	void set (String^ value);
}
Remarks

When the ZipFile instance was created by reading an archive using one of the ZipFile.Read methods, this property represents the name of the zip file that was read. When the ZipFile instance was created by using the no-argument constructor, this value is null (Nothing in VB).

If you use the no-argument constructor, and you then explicitly set this property, when you call Save()()()(), this name will specify the name of the zip file created. Doing so is equivalent to calling Save(String). When instantiating a ZipFile by reading from a stream or byte array, the Name property remains null. When saving to a stream, the Name property is implicitly set to null.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)