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