Class SplitSevenZipArchiveSaveOptions
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.2.0)
Options for saving a multi-volume 7-zip archive.
public class SplitSevenZipArchiveSaveOptions
Inheritance
object ← SplitSevenZipArchiveSaveOptions
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SplitSevenZipArchiveSaveOptions(string, uint)
Instantiates settings for saving a multi-volume 7z archive.
public SplitSevenZipArchiveSaveOptions(string fileName, uint segmentSize)
Parameters
fileName
string
Name for volumes. May be with or without .7z extension.
segmentSize
uint
Size of volume.
Remarks
Some volumes may be less than segmentSize
. In most cases the last segment will be less but rarely regular segments might be too.
Names of files will be as follows: fileName
.7z.001, fileName
.7z.002, ..., fileName
.7z.(n).
Exceptions
segmentSize
is less than 100.
Properties
FileName
Gets the name of segments without extension.
public string FileName { get; }
Property Value
SegmentSize
Gets the size of segment.
public uint SegmentSize { get; }