TarArchive Properties

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class 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.
AsciiTranslate Get/set the ascii file translation flag. If ascii file translation is true, then the file is checked to see if it a binary file or not. If the flag is true and the test indicates it is ascii text file, it will be translated. The translation converts the local operating system's concept of line ends into the UNIX line end, '\n', which is the defacto standard for a TAR archive. This makes text files compatible with UNIX.
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. Tar archives are composed of a series of RECORDS each containing a number of BLOCKS. This allowed tar archives to match the IO characteristics of the physical device being used. Archives are expected to be properly "blocked".
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