Class SharArchive
SharArchive class
This class represents 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 single entry within the archive. |
CreateEntry(string, FileInfo, bool) | Create single entry within the archive. |
CreateEntry(string, string, bool) | Create single entry within the archive. |
DeleteEntry(int) | Removes the entry from the entries list by index. |
DeleteEntry(SharEntry) | Removes the first occurrence of a specific entry from the entries 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 destination file provided. |
See Also