# HtmlRenderArchiveResult

Completed deterministic HTML page archive and its typed manifest.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlRenderArchive.cs:192](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderArchive.cs#L192)

**Modifiers**

sealed

Completed deterministic HTML page archive and its typed manifest.

## Inheritance

- object
- HtmlRenderArchiveResult

## 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.

### Returned or exposed by 2

- Method [HtmlRenderArchiveResult.Save](/api/html/officeimo-html-htmlrenderarchiveresult/#method-save-io-stream)
- Method [HtmlRenderArchiveResult.SaveAsync](/api/html/officeimo-html-htmlrenderarchiveresult/#method-saveasync-io-stream-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public HtmlRenderArchiveResult Save(Stream stream)` [#](#method-save-io-stream)

[HtmlRenderArchive.cs:192](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderArchive.cs#L192)

Writes the ZIP payload to a caller-owned stream without closing it.

Parameters

**stream System.IO.Stream required**

Returns

`HtmlRenderArchiveResult`

`public async Task<HtmlRenderArchiveResult> SaveAsync(Stream stream, CancellationToken cancellationToken = default)` [#](#method-saveasync-io-stream-threading-cancellationtoken)

Writes the ZIP payload asynchronously without closing the caller-owned stream.

Parameters

**stream System.IO.Stream required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<HtmlRenderArchiveResult>`

## 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 HtmlRenderArchiveManifest Manifest { get; }` [#](#property-manifest)

[HtmlRenderArchive.cs:184](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderArchive.cs#L184)

Typed manifest embedded as manifest.json.

`public long EncodedLength { get; }` [#](#property-encodedlength)

[HtmlRenderArchive.cs:186](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderArchive.cs#L186)

Exact ZIP byte count without copying the payload.

`public byte[] Bytes { get; }` [#](#property-bytes)

[HtmlRenderArchive.cs:188](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderArchive.cs#L188)

Detached copy of the ZIP bytes.

<!-- PowerForge markdown artifact sha256:B5D759CDA9B1CC32793E6174456DDAF1A58FA6CB9748BF29A5530F9CC459211B -->
