Class ImageCor20Header
COM+ 2.0 (CLI) Header https://www.codeproject.com/Articles/12585/The-NET-File-Format
Inherited Members
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageCor20Header : AbstractStructure
Constructors
| Edit this page View SourceImageCor20Header(IRawFile, long)
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. |
| long | offset | Offset to the COM+ 2 (CLI) header in the byte array. |
Properties
| Edit this page View SourceCb
Size of the structure.
Declaration
public uint Cb { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
CodeManagerTable
Code manager table directory.
Declaration
public ImageDataDirectory? CodeManagerTable { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
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 |
|---|---|
| uint |
EntryPointToken
Represents the managed entry point if NativeEntrypoint is not set. Union with EntryPointRVA.
Declaration
public uint EntryPointToken { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
ExportAddressTableJumps
Export address table jump directory.
Declaration
public ImageDataDirectory? ExportAddressTableJumps { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
Flags
COM image flags.
Declaration
public ComFlagsType Flags { get; }
Property Value
| Type | Description |
|---|---|
| ComFlagsType |
FlagsResolved
Readable list of COM flags.
Declaration
public List<string> FlagsResolved { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
MajorRuntimeVersion
Major runtime version of the CRL.
Declaration
public ushort MajorRuntimeVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
ManagedNativeHeader
Managed native header directory.
Declaration
public ImageDataDirectory? ManagedNativeHeader { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
MetaData
Meta data directory.
Declaration
public ImageDataDirectory? MetaData { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
MinorRuntimeVersion
Minor runtime version of the CRL.
Declaration
public ushort MinorRuntimeVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Resources
Resource data directory.
Declaration
public ImageDataDirectory? Resources { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
StrongNameSignature
Strong names signature directory.
Declaration
public ImageDataDirectory? StrongNameSignature { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
VTableFixups
Virtual table fix up directory.
Declaration
public ImageDataDirectory? VTableFixups { get; }
Property Value
| Type | Description |
|---|---|
| ImageDataDirectory |
Methods
| Edit this page View SourceResolveComFlags(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<string> | List with resolved flag names. |