Class METADATATABLESHDR
The Meta Data Tables Header contains information about all present data tables in the .Net assembly.
Implements
Inherited Members
Namespace: PeNet.Structures
Assembly: PeNet.dll
Syntax
public class METADATATABLESHDR : AbstractStructure, IMETADATATABLESHDR
Constructors
| Improve this Doc View SourceMETADATATABLESHDR(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 SourceHeapSizes
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 |
MajorVersion
Major Version.
Declaration
public byte MajorVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
MaskSorted
Bit mask which shows, which tables are sorted.
Declaration
public ulong MaskSorted { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
MinorVersion
Minor Version.
Declaration
public byte MinorVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Reserved1
Reserved1, always 0.
Declaration
public uint Reserved1 { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Reserved2
Reserved2, always 1.
Declaration
public byte Reserved2 { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
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> |
Tables
Access all parsed meta data tables.
Declaration
public Tables Tables { get; }
Property Value
Type | Description |
---|---|
Tables |
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 |