Show / Hide Table of Contents

Class MetaDataHdr

The Meta Data Header is part of the .Net/CLI (COM+ 2) header and is reachable from the .Net/CLI (COM+2) header ImageCor20Header. It contains information about embedded streams (sections) in the .Net assembly.

Inheritance
System.Object
AbstractStructure
MetaDataHdr
Namespace: PeNet.Header.Net
Assembly: PeNet.dll
Syntax
public class MetaDataHdr : AbstractStructure

Constructors

| Improve this Doc View Source

MetaDataHdr(IRawFile, Int64)

Create a new Meta Data Header from a PE file.

Declaration
public MetaDataHdr(IRawFile peFile, long offset)
Parameters
Type Name Description
IRawFile peFile

PE file which contains a Meta Data Header.

System.Int64 offset

Offset of the header start in the PE file.

Properties

| Improve this Doc View Source

Flags

Reserved flags field. Always 0.

Declaration
public ushort Flags { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

MajorVersion

Major version.

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

MetaDataStreamsHdrs

Array with all Meta Data Stream Headers.

Declaration
public MetaDataStreamHdr[] MetaDataStreamsHdrs { get; }
Property Value
Type Description
MetaDataStreamHdr[]
| Improve this Doc View Source

MinorVersion

Minor version.

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

Reserved

Reserved. Always 0.

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

Signature

Signature. Always 0x424A5342 in a valid .Net assembly.

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

Streams

Number of streams (sections) to follow.

Declaration
public ushort Streams { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

Version

Version number as an UTF-8 string.

Declaration
public string? Version { get; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

VersionLength

Length of the UTF-8 version string rounded up to a multiple of 4. For e.g., v1.3.4323

Declaration
public uint VersionLength { get; set; }
Property Value
Type Description
System.UInt32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX