Class CabArchive
CabArchive class
This class represents a CAB archive file.
public class CabArchive : IArchive
Constructors
| Name | Description |
|---|
| CabArchive(CabEntrySettings) | Initializes a new instance of the CabArchive class prepared for compressing. |
| CabArchive(Stream, CabLoadOptions) | Initializes a new instance of the CabArchive class and composes an entry list can be extracted from the archive. |
| CabArchive(string, CabLoadOptions) | Initializes a new instance of the CabArchive class and composes an entry list can be extracted from the archive. |
Properties
| Name | Description |
|---|
| Entries { get; } | Gets entries of CabEntry type constituting the archive. |
Methods
| Name | Description |
|---|
| CreateEntries(DirectoryInfo, bool) | Adds to the archive all files, recursively, from the specified directory. |
| CreateEntries(string, bool) | Adds to the archive all files recursively from the specified directory path. |
| CreateEntry(string, FileInfo, CabEntrySettings) | Create a single entry within the archive. |
| CreateEntry(string, Stream, CabEntrySettings) | Create a single entry within the archive. |
| CreateEntry(string, string, CabEntrySettings) | Create a single entry within the archive. |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| ExtractToDirectory(string) | Extracts all the files in the archive to the directory provided. |
| Save(Stream, CabSaveOptions) | Saves archive to the stream provided. |
| Save(string, CabSaveOptions) | Saves archive to the destination file provided. |
See Also