# CabArchiveWriterOptions

Settings for a single MSZIP cabinet. CAB stores DOS timestamps with two-second precision. Unix execute permissions cannot be carried by this writer.

Class 

`OfficeIMO.Archives`

**Namespace**

`OfficeIMO.Archives`

**Assembly**

`OfficeIMO.Archives`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[CabArchiveWriter.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/CabArchiveWriter.cs#L9)

**Base**

`ArchiveWriterOptions`

**Modifiers**

sealed

Settings for a single MSZIP cabinet. CAB stores DOS timestamps with two-second precision. Unix execute permissions cannot be carried by this writer.

## Inheritance

- [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)
- CabArchiveWriterOptions

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 2

- Method [CabArchiveWriter.Create](/api/archives/officeimo-archives-cabarchivewriter/#method-create-io-stream-collections-generic-ienumerable-officeimo-archives-archivewriteentry-officeimo-archives-cabarchivewriteroptions-threading-cancellationtoken) parameter `options`
- Method [CabArchiveWriter.CreateFromDirectory](/api/archives/officeimo-archives-cabarchivewriter/#method-createfromdirectory-string-io-stream-officeimo-archives-cabarchivewriteroptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public CabArchiveWriterOptions()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Inherited Properties

`public DateTimeOffset? Timestamp { get; set; }` [#](#property-timestamp)

[ArchiveWriterOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/ArchiveWriterOptions.cs#L8)

Inherited from [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)

`public bool ClampToTimestamp { get; set; }` [#](#property-clamptotimestamp)

[ArchiveWriterOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/ArchiveWriterOptions.cs#L11)

Inherited from [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)

`public bool PreserveFileTimes { get; set; }` [#](#property-preservefiletimes)

[ArchiveWriterOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/ArchiveWriterOptions.cs#L14)

Inherited from [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)

`public bool PreserveUnixExecutePermissions { get; set; }` [#](#property-preserveunixexecutepermissions)

[ArchiveWriterOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/ArchiveWriterOptions.cs#L16)

Inherited from [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)

`public int MaxPathDepth { get; set; }` [#](#property-maxpathdepth)

[ArchiveWriterOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/ArchiveWriterOptions.cs#L18)

Inherited from [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)

`public int MaxPathLength { get; set; }` [#](#property-maxpathlength)

[ArchiveWriterOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/ArchiveWriterOptions.cs#L20)

Inherited from [ArchiveWriterOptions](/api/archives/officeimo-archives-archivewriteroptions/)

<!-- PowerForge markdown artifact sha256:447E1B9F34544C6752D6776B6A3FCF03654C9268401A3B0C38CFD1E6D5B4C5E1 -->
