TarArchive Properties

SharpZip Compression Library

SharpZip Compression Library

TarArchive Properties

The properties of the TarArchive class are listed below. For a complete list of TarArchive class members, see the TarArchive Members topic.

Public Instance Properties

ApplyUserInfoOverrides Get or set a value indicating if overrides defined by SetUserInfo should be applied.
GroupId Get the archive group id. See ApplyUserInfoOverrides for detail on how to allow setting values on a per entry basis.
GroupName Get the archive group name. See ApplyUserInfoOverrides for detail on how to allow setting values on a per entry basis.
PathPrefix PathPrefix is added to entry names as they are written if the value is not null. A slash character is appended after PathPrefix
RecordSize Get the archive's record size. Because of its history, tar supports the concept of buffered IO consisting of RECORDS of BLOCKS. This allowed tar to match the IO characteristics of the physical device being used. Of course, in the C# world, this makes no sense, WITH ONE EXCEPTION - archives are expected to be properly "blocked". Thus, all of the horrible TarBuffer support boils down to simply getting the "boundaries" correct.
RootPath RootPath is removed from entry names if it is found at the beginning of the name.
UserId Get the archive user id. See ApplyUserInfoOverrides for detail on how to allow setting values on a per entry basis.
UserName Get the archive user name. See ApplyUserInfoOverrides for detail on how to allow setting values on a per entry basis.

See Also

TarArchive Class | ICSharpCode.SharpZipLib.Tar Namespace