# CpioArchiveWriterOptions

Metadata and format settings for CpioArchiveWriter.

Class 

`OfficeIMO.Archives`

**Namespace**

`OfficeIMO.Archives`

**Assembly**

`OfficeIMO.Archives`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[CpioArchiveWriter.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Archives/CpioArchiveWriter.cs#L18)

**Base**

`ArchiveWriterOptions`

**Modifiers**

sealed

Metadata and format settings for [CpioArchiveWriter](/api/archives/officeimo-archives-cpioarchivewriter/).

## Inheritance

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

## Usage

Explore 1 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 1

- Method [CpioArchiveWriter.Create](/api/archives/officeimo-archives-cpioarchivewriter/#method-create-io-stream-collections-generic-ienumerable-officeimo-archives-archivewriteentry-officeimo-archives-cpioarchivewriteroptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public CpioArchiveWriterOptions()` [#](#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?`

## Properties

`public CpioArchiveFormat Format { get; set; }` [#](#property-format)

[CpioArchiveWriter.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Archives/CpioArchiveWriter.cs#L18)

The ASCII header variant. Defaults to newc.

## Inherited Properties

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

[ArchiveWriterOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/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/12511d2fa560784a40564a2dc62102d2005ed547/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/12511d2fa560784a40564a2dc62102d2005ed547/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/12511d2fa560784a40564a2dc62102d2005ed547/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/12511d2fa560784a40564a2dc62102d2005ed547/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/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Archives/ArchiveWriterOptions.cs#L20)

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

<!-- PowerForge markdown artifact sha256:2F7A2058B8063CA8273BB2666251E46CD428432EF6679C5B8CB8F6CB016032CF -->
