Table of Contents

Class VersionTableEntry

Namespace
AsmResolver.PE.Win32Resources.Version
Assembly
AsmResolver.PE.Win32Resources.dll

Provides a base for all version tables stored in a native version resource file.

public abstract class VersionTableEntry : SegmentBase, ISegment, IOffsetProvider, IWritable
Inheritance
VersionTableEntry
Implements
Derived
Inherited Members

Constructors

VersionTableEntry()

protected VersionTableEntry()

Properties

Key

Gets the name of the table.

public abstract string Key { get; }

Property Value

string

ValueType

Gets the value type of the table.

protected abstract VersionTableValueType ValueType { get; }

Property Value

VersionTableValueType

Methods

CreateHeader()

Creates a new header for the table entry.

protected VersionTableEntryHeader CreateHeader()

Returns

VersionTableEntryHeader

GetValueLength()

Gets the length of the raw value.

protected abstract uint GetValueLength()

Returns

uint

The raw value.

Write(BinaryStreamWriter)

Serializes the structure to an output stream.

public override void Write(BinaryStreamWriter writer)

Parameters

writer BinaryStreamWriter

The output stream to write the data to.

WriteValue(BinaryStreamWriter)

Writes the value field of the version structure.

protected abstract void WriteValue(BinaryStreamWriter writer)

Parameters

writer BinaryStreamWriter

The output stream.