SectionHeader.VirtualAddress Property


Gets the virtual addess of the section.

 property int VirtualAddress { int get(); };
public int VirtualAddress { get; }
member this.VirtualAddress : int
Public ReadOnly Property VirtualAddress As Integer

Property Value

The virtual address of the section.


For PE images, the VirtualAddress is the address of the first byte of the section relative to the image base when the section is loaded into memory. For object files, it is the address of the first byte before relocation is applied; for simplicity, compilers should set this to zero. Otherwise, it is an arbitrary value that is subtracted from offsets during relocation..

Applies to