Class XarLoadOptions
Class XarLoadOptions
Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.5.0)
Options with which archive is loaded from a compressed file.
public class XarLoadOptions
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
XarLoadOptions()
public XarLoadOptions()
Properties
EntryExtractionProgressed
Gets or sets the delegate invoked when some bytes have been extracted.
public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }
Property Value
EventHandler < ProgressEventArgs >
Examples
XarArchive archive = new XarArchive("archive.xar",
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })
Remarks
Event sender is the Aspose.Zip.Xar.XarFileEntry instance which extraction is progressed.