Class SharArchive
SharArchive class
This class represents a shar archive file.
public class SharArchive : IDisposable
Constructors
| Name | Description |
|---|
| SharArchive() | Initializes a new instance of the SharArchive class. |
| SharArchive(string) | Initializes a new instance of the SharArchive class prepared for decompressing. |
Properties
| Name | Description |
|---|
| Entries { get; } | Gets entries of SharEntry type constituting the archive. |
Methods
| Name | Description |
|---|
| CreateEntries(DirectoryInfo, bool) | Adds to the archive all the files and directories recursively in the directory given. |
| CreateEntries(string, bool) | Adds to the archive all the files and directories recursively in the directory given. |
| CreateEntry(string, Stream) | Create a single entry within the archive. |
| CreateEntry(string, FileInfo, bool) | Create a single entry within the archive. |
| CreateEntry(string, string, bool) | Create a single entry within the archive. |
| DeleteEntry(int) | Removes the entry from the entry list by index. |
| DeleteEntry(SharEntry) | 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. |
| Save(Stream) | Saves archive to the stream provided. |
| Save(string) | Saves archive to a destination file provided. |
See Also