Show / Hide Table of Contents

Class ImageCor20Header

COM+ 2.0 (CLI) Header https://www.codeproject.com/Articles/12585/The-NET-File-Format

Inheritance
System.Object
AbstractStructure
ImageCor20Header
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageCor20Header : AbstractStructure

Constructors

| Improve this Doc View Source

ImageCor20Header(IRawFile, Int64)

Create a new instance of an COM+ 2 (CLI) header.

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

A PE file.

System.Int64 offset

Offset to the COM+ 2 (CLI) header in the byte array.

Properties

| Improve this Doc View Source

Cb

Size of the structure.

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

CodeManagerTable

Code manager table directory.

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

EntryPointRva

Represents an RVA to an native entry point if the NativeEntrypoint is set. Union with EntryPointToken.

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

EntryPointToken

Represents the managed entry point if NativeEntrypoint is not set. Union with EntryPointRVA.

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

ExportAddressTableJumps

Export address table jump directory.

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

Flags

COM image flags.

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

FlagsResolved

Readable list of COM flags.

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

MajorRuntimeVersion

Major runtime version of the CRL.

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

ManagedNativeHeader

Managed native header directory.

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

MetaData

Meta data directory.

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

MinorRuntimeVersion

Minor runtime version of the CRL.

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

Resources

Resource data directory.

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

StrongNameSignature

Strong names signature directory.

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

VTableFixups

Virtual table fix up directory.

Declaration
public ImageDataDirectory VTableFixups { get; }
Property Value
Type Description
ImageDataDirectory

Methods

| Improve this Doc View Source

ResolveComFlags(ComFlagsType)

Resolve flags from the ImageCor20Header COM+ 2 (CLI) header to their string representation.

Declaration
public static List<string> ResolveComFlags(ComFlagsType comFlags)
Parameters
Type Name Description
ComFlagsType comFlags

Flags from ImageCor20Header.

Returns
Type Description
List<System.String>

List with resolved flag names.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX