Class XarArchive
XarArchive class
This class represents a xar archive file.
public class XarArchive : IArchive
Constructors
| Name | Description |
|---|
| XarArchive(XarCompressionSettings) | Initializes a new instance of the XarArchive class. |
| XarArchive(Stream, XarLoadOptions) | Initializes a new instance of the XarArchive class and composes an entry list can be extracted from the archive. |
| XarArchive(string, XarLoadOptions) | Initializes a new instance of the XarArchive class and composes an entry list can be extracted from the archive. |
Properties
| Name | Description |
|---|
| Entries { get; } | Gets entries of XarEntry type constituting the archive. |
Methods
| Name | Description |
|---|
| CreateEntries(DirectoryInfo, bool, XarCompressionSettings) | Adds to the archive all the files and directories recursively in the directory given. |
| CreateEntries(string, bool, XarCompressionSettings) | Adds to the archive all the files and directories recursively in the directory given. |
| CreateEntry(string, Stream, XarCompressionSettings) | Create a single entry within the archive. |
| CreateEntry(string, FileInfo, bool, XarCompressionSettings) | Create a single entry within the archive. |
| CreateEntry(string, string, bool, XarCompressionSettings) | Create a single entry within the archive. |
| DeleteEntry(XarEntry) | Removes the first occurrence of a specific entry from the entry list. |
| 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, XarSaveOptions) | Saves archive to the stream provided. |
| Save(string, XarSaveOptions) | Saves archive to the destination file provided. |
See Also