Class ImageBaseRelocation.TypeOffset
Represents the type and offset in an ImageBaseRelocation structure.
Inheritance
System.Object
    ImageBaseRelocation.TypeOffset
  Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class TypeOffset : object
  Constructors
| Improve this Doc View SourceTypeOffset(IRawFile, Int64)
Create a new TypeOffset object.
Declaration
public TypeOffset(IRawFile peFile, long offset)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IRawFile | peFile | A PE file.  | 
      
| System.Int64 | offset | Offset of the TypeOffset in the PE file.  | 
      
Properties
| Improve this Doc View SourceOffset
The offset is described in the 12 higher bits of the TypeOffset word.
Declaration
public ushort Offset { get; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt16 | 
Type
The type is described in the 4 lower bits of the TypeOffset word.
Declaration
public byte Type { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Byte |