Class ImageCor20Header
COM+ 2.0 (CLI) Header https://www.codeproject.com/Articles/12585/The-NET-File-Format
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageCor20Header : AbstractStructure
Constructors
| Improve this Doc View SourceImageCor20Header(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 SourceCb
Size of the structure.
Declaration
public uint Cb { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
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 |
---|---|
System.UInt32 |
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 |
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<System.String> |
MajorRuntimeVersion
Major runtime version of the CRL.
Declaration
public ushort MajorRuntimeVersion { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
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 |
---|---|
System.UInt16 |
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
| Improve this Doc 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<System.String> | List with resolved flag names. |