Table of Contents

Class SevenZipArchive

Namespace
SharpCompress.Archive.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

CreateReaderForSolidExtraction()

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>, Options)

protected override IEnumerable<SevenZipVolume> LoadVolumes(IEnumerable<Stream> streams, Options options)

Parameters

streams IEnumerable<Stream>
options Options

Returns

IEnumerable<SevenZipVolume>

LoadVolumes(FileInfo, Options)

protected override IEnumerable<SevenZipVolume> LoadVolumes(FileInfo file, Options options)

Parameters

file FileInfo
options Options

Returns

IEnumerable<SevenZipVolume>

Open(FileInfo)

public static SevenZipArchive Open(FileInfo fileInfo)

Parameters

fileInfo FileInfo

Returns

SevenZipArchive

Open(FileInfo, Options)

public static SevenZipArchive Open(FileInfo fileInfo, Options options)

Parameters

fileInfo FileInfo
options Options

Returns

SevenZipArchive

Open(Stream)

public static SevenZipArchive Open(Stream stream)

Parameters

stream Stream

Returns

SevenZipArchive

Open(Stream, Options)

public static SevenZipArchive Open(Stream stream, Options options)

Parameters

stream Stream
options Options

Returns

SevenZipArchive

Open(string)

public static SevenZipArchive Open(string filePath)

Parameters

filePath string

Returns

SevenZipArchive

Open(string, Options)

public static SevenZipArchive Open(string filePath, Options options)

Parameters

filePath string
options Options

Returns

SevenZipArchive