Rediger

Del via


CorHeader Class

Definition

Represents the Common Language Infrastructure (CLI) header of the .NET executable image.

public ref class CorHeader sealed
public sealed class CorHeader
type CorHeader = class
Public NotInheritable Class CorHeader
Inheritance
CorHeader

Remarks

The CLI header contains information about .NET metadata in the Portable Executable (PE) file. The CLI header format is defined by the ECMA-335 specification, section II.25.3.3. You can use the CorHeader property to get the CLI header.

Properties

CodeManagerTableDirectory

Gets the Code Manager Table entry.

EntryPointTokenOrRelativeVirtualAddress

Gets the metadata token of the entry point method of this image.

ExportAddressTableJumpsDirectory

Gets the Export Address Table Jumps entry.

Flags

Gets the runtime flags for this image.

MajorRuntimeVersion

Gets the major part of the runtime version required to load this image.

ManagedNativeHeaderDirectory

Gets the Managed Native Header entry.

MetadataDirectory

Gets the Metadata entry.

MinorRuntimeVersion

Gets the minor part of the runtime version required to load this image.

ResourcesDirectory

Gets the Resources entry.

StrongNameSignatureDirectory

Gets the Strong Name Signature entry.

VtableFixupsDirectory

Gets the VTable Fixups entry.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to