# SevenZipArchiveWriterOptions

Compression, metadata and portable path settings for a deterministic 7z archive.

Class 

`OfficeIMO.Archives`

**Namespace**

`OfficeIMO.Archives`

**Assembly**

`OfficeIMO.Archives`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[SevenZipArchiveWriter.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Archives/SevenZipArchiveWriter.cs#L19)

**Base**

`ArchiveWriterOptions`

**Modifiers**

sealed

Compression, metadata and portable path settings for a deterministic 7z archive.

## Inheritance

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

## 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 [SevenZipArchiveWriter.Create](/api/archives/officeimo-archives-sevenziparchivewriter/#method-create-io-stream-collections-generic-ienumerable-officeimo-archives-archivewriteentry-officeimo-archives-sevenziparchivewriteroptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public SevenZipArchiveWriterOptions()` [#](#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 SevenZipCompressionMethod Compression { get; set; }` [#](#property-compression)

[SevenZipArchiveWriter.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Archives/SevenZipArchiveWriter.cs#L19)

Compression for nonempty members. Defaults to Copy.

`public bool Solid { get; set; }` [#](#property-solid)

[SevenZipArchiveWriter.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Archives/SevenZipArchiveWriter.cs#L22)

Groups all nonempty files, in input order, into one folder of at most 256 MiB of decoded data. Defaults to false, which gives each nonempty file its own folder.

## 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:BC40D72D9355AFE7AD6575A3E3D3A411D8A8114215BB8FC83AF6011835267B2E -->
