Table of Contents

Class DwgContainerHeader

Namespace
DwgIO.Model
Assembly
DwgIO.dll

The file header of an R2004-family drawing: the 0x6C-byte block at file offset 0x80 after decryption, plus the plaintext fields of the first 0x80 bytes.

public sealed class DwgContainerHeader

Inheritance

Inherited Members

Properties

BackupHeaderOffset

Decrypted 0x34: offset of the backup copy of the header at the end of the file.

public required ulong BackupHeaderOffset { get; init; }

Property Value

ulong

FileHeader

The 128-byte prefix shared with other DWG releases.

public required DwgFileHeader FileHeader { get; init; }

Property Value

DwgFileHeader

FileId

Decrypted 0x00: the "AcFssFcAJMB" file-id string.

public required string FileId { get; init; }

Property Value

string

GapCount

Decrypted 0x3C: number of gaps in the page sequence.

public required uint GapCount { get; init; }

Property Value

uint

GapTableLength

Decrypted 0x64: length of the gap table.

public required uint GapTableLength { get; init; }

Property Value

uint

HeaderCrcValid

Whether the decrypted header block matches its stored CRC-32.

public required bool HeaderCrcValid { get; init; }

Property Value

bool

LastPageEndOffset

Decrypted 0x2C: file offset where the last page ends.

public required ulong LastPageEndOffset { get; init; }

Property Value

ulong

LastPageNumber

Decrypted 0x28: number of the last page.

public required uint LastPageNumber { get; init; }

Property Value

uint

PageCount

Decrypted 0x40: number of pages.

public required uint PageCount { get; init; }

Property Value

uint

PageMapOffset

Decrypted 0x54: page map offset (add 0x100 for the file offset).

public required ulong PageMapOffset { get; init; }

Property Value

ulong

PageMapPageNumber

Decrypted 0x50: page number of the page map.

public required uint PageMapPageNumber { get; init; }

Property Value

uint

PageTableLength

Decrypted 0x60: length of the page table.

public required uint PageTableLength { get; init; }

Property Value

uint

SectionMapPageNumber

Decrypted 0x5C: page number of the section map.

public required uint SectionMapPageNumber { get; init; }

Property Value

uint

SecurityFlags

Bytes 0x18-0x1B of the plaintext header.

public required uint SecurityFlags { get; init; }

Property Value

uint

StoredCrc32

Decrypted 0x68: CRC-32 stored over the block with its own 4 bytes zeroed.

public required uint StoredCrc32 { get; init; }

Property Value

uint

SummaryInfoOffset

Bytes 0x20-0x23: file offset of the summary info section.

public required uint SummaryInfoOffset { get; init; }

Property Value

uint

VbaProjectOffset

Bytes 0x24-0x27: file offset of the VBA project (0 if absent).

public required uint VbaProjectOffset { get; init; }

Property Value

uint