PEHeaderBuilder Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the header for a portable executable (PE) file.
public ref class PEHeaderBuilder sealed
public sealed class PEHeaderBuilder
type PEHeaderBuilder = class
Public NotInheritable Class PEHeaderBuilder
- Inheritance
-
PEHeaderBuilder
Dll |
Returns the dynamic linker library characteristics. |
File |
The alignment factor (in bytes) that is used to align the raw data of sections in the image file. The value should be a power of 2 between 512 and 64K, inclusive. The default is 512. If the section alignment is less than the architecture's page size, then file alignment must match the section alignment. |
Image |
The preferred address of the first byte of image when loaded into memory; must be a multiple of 64K. |
Image |
Returns the image characteristics. |
Machine |
The target machine's CPU architecture. |
Major |
The major version number of the image. |
Major |
The linker major version number. |
Major |
The major version number of the required operating system. |
Major |
The major version number of the subsystem. |
Minor |
The minor version number of the image. |
Minor |
The linker minor version number. |
Minor |
The minor version number of the required operating system. |
Minor |
The minor version number of the subsystem. |
Section |
The alignment (in bytes) of sections when they are loaded into memory. |
Size |
The size of the local heap space to commit. |
Size |
The size of the local heap space to reserve. Only SizeOfHeapCommit is committed; the rest is made available one page at a time until the reserve size is reached. |
Size |
The size of the stack to commit. |
Size |
The size of the stack to reserve. Only SizeOfStackCommit is committed; the rest is made available one page at a time until the reserve size is reached. |
Subsystem |
The subsystem that is required to run this image. |
Create |
Creates an executable header. |
Create |
Creates a library header. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET | Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: