NumberOfSegmentsForMostRecentSave Property

DotNetZip

Ionic Zip Library v1.9.1.6 NumberOfSegmentsForMostRecentSave Property
ReferenceIonic.ZipZipFileNumberOfSegmentsForMostRecentSave
Returns the number of segments used in the most recent Save() operation.
Declaration Syntax
C# Visual Basic Visual C++
public int NumberOfSegmentsForMostRecentSave { get; }
Public ReadOnly Property NumberOfSegmentsForMostRecentSave As Integer
	Get
public:
property int NumberOfSegmentsForMostRecentSave {
	int get ();
}
Remarks

This is normally zero, unless you have set the MaxOutputSegmentSize property. If you have set MaxOutputSegmentSize, and then you save a file, after the call to Save() completes, you can read this value to learn the number of segments that were created.

If you call Save("Archive.zip"), and it creates 5 segments, then you will have filesystem files named Archive.z01, Archive.z02, Archive.z03, Archive.z04, and Archive.zip, and the value of this property will be 5.

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