Show / Hide Table of Contents

Class METADATATABLESHDR

The Meta Data Tables Header contains information about all present data tables in the .Net assembly.

Inheritance
System.Object
AbstractStructure
METADATATABLESHDR
Implements
IMETADATATABLESHDR
Inherited Members
AbstractStructure.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PeNet.Structures
Assembly: PeNet.dll
Syntax
public class METADATATABLESHDR : AbstractStructure, IMETADATATABLESHDR

Constructors

| Improve this Doc View Source

METADATATABLESHDR(Byte[], UInt32)

Create a new Meta Data Tables Header instance from a byte array.

Declaration
public METADATATABLESHDR(byte[] buff, uint offset)
Parameters
Type Name Description
System.Byte[] buff

Buffer which contains a METADATATABLESHDR structure.

System.UInt32 offset

Offset in the buffer, where the header starts.

Properties

| Improve this Doc View Source

HeapSizes

The size the indexes into the streams have. Bit 0 (0x01) set: Indexes into #String are 4 bytes wide. Bit 1 (0x02) set: Indexes into #GUID heap are 4 bytes wide. Bit 2 (0x04) set: Indexes into #Blob heap are 4 bytes wide. If bit not set: indexes into heap is 2 bytes wide.

Declaration
public byte HeapSizes { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

MajorVersion

Major Version.

Declaration
public byte MajorVersion { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

MaskSorted

Bit mask which shows, which tables are sorted.

Declaration
public ulong MaskSorted { get; set; }
Property Value
Type Description
System.UInt64
| Improve this Doc View Source

MinorVersion

Minor Version.

Declaration
public byte MinorVersion { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Reserved1

Reserved1, always 0.

Declaration
public uint Reserved1 { get; set; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Reserved2

Reserved2, always 1.

Declaration
public byte Reserved2 { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

TableDefinitions

Access a list of defined tables in the Meta Data Tables Header with the name and number of rows of the table.

Declaration
public List<METADATATABLESHDR.MetaDataTableInfo> TableDefinitions { get; }
Property Value
Type Description
System.Collections.Generic.List<METADATATABLESHDR.MetaDataTableInfo>
| Improve this Doc View Source

Tables

Access all parsed meta data tables.

Declaration
public Tables Tables { get; }
Property Value
Type Description
Tables
| Improve this Doc View Source

Valid

Bit mask which shows, which tables are present in the .Net assembly. Maximal 64 tables can be present, but most tables are not defined such that the high bits of the mask are always 0.

Declaration
public ulong Valid { get; set; }
Property Value
Type Description
System.UInt64

Implements

IMETADATATABLESHDR
  • Improve this Doc
  • View Source
Back to top Generated by DocFX