ImageProperties Class |
Represents PE header of a .NET assembly.
Namespace: PostSharp.Sdk.Binary
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public class ImageProperties : ICloneable
The ImageProperties type exposes the following members.
Name | Description | |
---|---|---|
ImageProperties |
Initializes an empty instance.
|
Name | Description | |
---|---|---|
Attributes |
Gets the attributes of the PE image.
| |
BaseAddress |
Gets or sets the ImageBase value in the NT Optional header.
| |
FileAlignment |
Gets or sets the FileAlignment value in the NT Optional header.
| |
HeapCommit |
Gets or sets the size of heap commit specified in the PE file.
| |
HeapReserve |
Gets or sets the size of heap reserver specified in the PE file.
| |
ImageMajorVersion |
Gets or sets the major version of the image specified in the PE file.
| |
ImageMinorVersion |
Gets or sets the minor version of the image specified in the PE file.
| |
Kind |
Gets or sets the PeKind information from the PE headers.
| |
LargeAddressAware | ||
LinkerMajorVersion |
Gets or sets the major version of the linker specified in the PE file.
| |
LinkerMinorVersion |
Gets or sets the minor version of the linker specified in the PE file.
| |
MetadataProperties | ||
OperatingSystemMajorVersion |
Gets or sets the major version of the operating system specified in the PE file.
| |
OperatingSystemMinorVersion |
Gets or sets the minor version of the subsystem specified in the PE file.
| |
RequiresAppContainer |
Gets or sets a value indicating whether the image should be executed in an app container.
| |
RuntimeMajorVersion |
Gets or sets the RuntimeMajorVersion field of the CLI header.
| |
RuntimeMinorVersion |
Gets or sets the RuntimeMinorVersion field of the CLI header.
| |
SectionAlignment |
Gets or sets the SectionAlignment value in the NT Optional header.
| |
StackCommit |
Gets or sets the size of stack commit specified in the PE file.
| |
StackReserve |
Gets or sets the size of stack reserve specified in the PE file.
| |
Subsystem |
Gets or sets the subsystem type specified in the PE file (library, console executable, graphic executable).
| |
SubsystemMajorVersion |
Gets or sets the major version of the subsystem specified in the PE file.
| |
SubsystemMinorVersion |
Gets or sets the minor version of the subsystem specified in the PE file.
| |
SupportsControlFlowGuard |
Gets or sets a value indication whether the image supports Control Flow Guard.
| |
SupportsHighEntropyVirtualAddresses |
Gets or sets a value indicating whether high entropy virtual addresses are supported by the image.
| |
TargetMachine |
Gets or sets the ImageFileMachine information from the PE headers.
|
Name | Description | |
---|---|---|
Clone | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |