# OfficeVbaProjectInfo

Describes a VBA project embedded in an Office document.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficePackagePayload.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L97)

**Modifiers**

sealed

Describes a VBA project embedded in an Office document.

## Inheritance

- object
- OfficeVbaProjectInfo

Filter members 

Show inherited

## 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 PartUri { get; }` [#](#property-parturi)

[OfficePackagePayload.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L97)

URI of the vbaProject.bin package part.

`public string ContentType { get; }` [#](#property-contenttype)

[OfficePackagePayload.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L100)

Declared MIME content type.

`public long Length { get; }` [#](#property-length)

[OfficePackagePayload.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L103)

VBA project length in bytes, or -1 for a descriptor that did not request a payload read.

`public bool HasKnownLength { get; }` [#](#property-hasknownlength)

[OfficePackagePayload.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L106)

Whether the decoded project length is known.

`public string? Sha256 { get; }` [#](#property-sha256)

[OfficePackagePayload.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L109)

Lowercase SHA-256 digest when hash calculation was requested; otherwise null.

`public IReadOnlyList<string> ModuleNames { get; }` [#](#property-modulenames)

[OfficePackagePayload.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L112)

Best-effort VBA module names discovered in the compound project.

`public bool ModuleInspectionRequested { get; }` [#](#property-moduleinspectionrequested)

[OfficePackagePayload.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L115)

Whether binary VBA module inspection was requested. False distinguishes an unrequested payload from an inspected empty module list.

`public bool HasSignature { get; }` [#](#property-hassignature)

[OfficePackagePayload.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L118)

True when the VBA project has a signature relationship.

## Fields

`public const long DefaultMaximumProjectBytes` [#](#field-defaultmaximumprojectbytes)

[OfficePackagePayload.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L77)

Default maximum VBA project bytes materialized by metadata inspection.

Value: `67108864`

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