Class SevenZipArchive
- Namespace
- SharpCompress.Archives.SevenZip
- Assembly
- SharpCompress.dll
public class SevenZipArchive : AbstractArchive<SevenZipArchiveEntry, SevenZipVolume>, IArchive, IDisposable
- Inheritance
-
SevenZipArchive
- Implements
-
- Inherited Members
-
- Extension Methods
-
Properties
IsSolid
public override bool IsSolid { get; }
Property Value
- bool
TotalSize
public override long TotalSize { get; }
Property Value
- long
Methods
protected override IReader CreateReaderForSolidExtraction()
Returns
- IReader
IsSevenZipFile(FileInfo)
public static bool IsSevenZipFile(FileInfo fileInfo)
Parameters
fileInfo
FileInfo
Returns
- bool
IsSevenZipFile(Stream)
public static bool IsSevenZipFile(Stream stream)
Parameters
stream
Stream
Returns
- bool
IsSevenZipFile(string)
public static bool IsSevenZipFile(string filePath)
Parameters
filePath
string
Returns
- bool
LoadEntries(IEnumerable<SevenZipVolume>)
protected override IEnumerable<SevenZipArchiveEntry> LoadEntries(IEnumerable<SevenZipVolume> volumes)
Parameters
volumes
IEnumerable<SevenZipVolume>
Returns
- IEnumerable<SevenZipArchiveEntry>
LoadVolumes(IEnumerable<Stream>)
protected override IEnumerable<SevenZipVolume> LoadVolumes(IEnumerable<Stream> streams)
Parameters
streams
IEnumerable<Stream>
Returns
- IEnumerable<SevenZipVolume>
LoadVolumes(FileInfo)
protected override IEnumerable<SevenZipVolume> LoadVolumes(FileInfo file)
Parameters
file
FileInfo
Returns
- IEnumerable<SevenZipVolume>
Open(FileInfo, ReaderOptions)
public static SevenZipArchive Open(FileInfo fileInfo, ReaderOptions readerOptions)
Parameters
fileInfo
FileInfo
readerOptions
ReaderOptions
Returns
- SevenZipArchive
Open(Stream, ReaderOptions)
public static SevenZipArchive Open(Stream stream, ReaderOptions readerOptions = null)
Parameters
stream
Stream
readerOptions
ReaderOptions
Returns
- SevenZipArchive
Open(string, ReaderOptions)
public static SevenZipArchive Open(string filePath, ReaderOptions readerOptions = null)
Parameters
filePath
string
readerOptions
ReaderOptions
Returns
- SevenZipArchive