ClrHeader
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
CLR (Common Language Runtime) header information from the PE file’s COR20 header.
public sealed record ClrHeader : IEquatable<ClrHeader>Inheritance
Section titled “Inheritance”Object → ClrHeader
Implements
Section titled “Implements”Constructors
Section titled “Constructors”ClrHeader(int, int, int, int, CorFlags, int, int, int, int, int)
Section titled “ClrHeader(int, int, int, int, CorFlags, int, int, int, int, int)”CLR (Common Language Runtime) header information from the PE file’s COR20 header.
Parameters:
MajorRuntimeVersion(Int32): Major version of the CLR required.MinorRuntimeVersion(Int32): Minor version of the CLR required.MetadataRva(Int32): RVA of the metadata directory.MetadataSize(Int32): Size of the metadata directory in bytes.Flags(CorFlags): CLR header flags (ILOnly, 32BitRequired, StrongNameSigned, etc.).EntryPointToken(Int32): Metadata token of the entry point method, or zero.ResourcesRva(Int32): RVA of the managed resources directory.ResourcesSize(Int32): Size of the managed resources directory.StrongNameSignatureRva(Int32): RVA of the strong name signature.StrongNameSignatureSize(Int32): Size of the strong name signature.
public ClrHeader(int MajorRuntimeVersion, int MinorRuntimeVersion, int MetadataRva, int MetadataSize, CorFlags Flags, int EntryPointToken, int ResourcesRva, int ResourcesSize, int StrongNameSignatureRva, int StrongNameSignatureSize)Properties
Section titled “Properties”EntryPointToken
Section titled “EntryPointToken”Metadata token of the entry point method, or zero.
Returns: Int32
public int EntryPointToken { get; init; }CLR header flags (ILOnly, 32BitRequired, StrongNameSigned, etc.).
Returns: CorFlags
public CorFlags Flags { get; init; }MajorRuntimeVersion
Section titled “MajorRuntimeVersion”Major version of the CLR required.
Returns: Int32
public int MajorRuntimeVersion { get; init; }MetadataRva
Section titled “MetadataRva”RVA of the metadata directory.
Returns: Int32
public int MetadataRva { get; init; }MetadataSize
Section titled “MetadataSize”Size of the metadata directory in bytes.
Returns: Int32
public int MetadataSize { get; init; }MinorRuntimeVersion
Section titled “MinorRuntimeVersion”Minor version of the CLR required.
Returns: Int32
public int MinorRuntimeVersion { get; init; }ResourcesRva
Section titled “ResourcesRva”RVA of the managed resources directory.
Returns: Int32
public int ResourcesRva { get; init; }ResourcesSize
Section titled “ResourcesSize”Size of the managed resources directory.
Returns: Int32
public int ResourcesSize { get; init; }StrongNameSignatureRva
Section titled “StrongNameSignatureRva”RVA of the strong name signature.
Returns: Int32
public int StrongNameSignatureRva { get; init; }StrongNameSignatureSize
Section titled “StrongNameSignatureSize”Size of the strong name signature.
Returns: Int32
public int StrongNameSignatureSize { get; init; }