# EpubResource

Manifest resource discovered in an EPUB package.

Class 

`OfficeIMO.Epub`

**Namespace**

`OfficeIMO.Epub`

**Assembly**

`OfficeIMO.Epub`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EpubResource.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L8)

**Modifiers**

sealed

Manifest resource discovered in an EPUB package.

## Inheritance

- object
- EpubResource

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

### Returned or exposed by 1

- Property [EpubDocument.Resources](/api/epub/officeimo-epub-epubdocument/#property-resources)

Filter members 

Show inherited

## Constructors

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

[EpubResource.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L8)

## 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 string Id { get; internal set; }` [#](#property-id)

[EpubResource.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L8)

OPF manifest item identifier.

`public string Path { get; internal set; }` [#](#property-path)

[EpubResource.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L11)

Normalized archive path or external URL.

`public string? Href { get; internal set; }` [#](#property-href)

[EpubResource.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L14)

Original manifest href.

`public bool IsRemote { get; internal set; }` [#](#property-isremote)

[EpubResource.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L17)

Whether this manifest item references an external resource.

`public string? RemoteUri { get; internal set; }` [#](#property-remoteuri)

[EpubResource.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L20)

External URL, including a scheme-relative URL, when [EpubResource.IsRemote](/api/epub/officeimo-epub-epubresource/) is true.

`public string? MediaType { get; internal set; }` [#](#property-mediatype)

[EpubResource.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L23)

Declared media type.

`public string? Properties { get; internal set; }` [#](#property-properties)

[EpubResource.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L26)

Space-separated OPF properties.

`public long LengthBytes { get; internal set; }` [#](#property-lengthbytes)

[EpubResource.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L29)

Uncompressed resource length.

`public EpubEncryptionInfo? Encryption { get; internal set; }` [#](#property-encryption)

[EpubResource.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L32)

Encryption declaration for this resource, when present.

`public bool WasDeobfuscated { get; internal set; }` [#](#property-wasdeobfuscated)

[EpubResource.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L35)

Whether recognized EPUB font obfuscation was removed from [EpubResource.Data](/api/epub/officeimo-epub-epubresource/).

`public byte[]? Data { get; internal set; }` [#](#property-data)

[EpubResource.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Epub/EpubResource.cs#L39)

Optional bounded resource payload requested by the caller.

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