Class ExportFunction
Represents an exported function.
Inherited Members
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ExportFunction
Constructors
| Edit this page View SourceExportFunction(string?, uint, ushort)
Create a new ExportFunction object.
Declaration
public ExportFunction(string? name, uint address, ushort ordinal)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of the function. |
| uint | address | Address of function. |
| ushort | ordinal | Ordinal of the function. |
ExportFunction(string, uint, ushort, string)
Create a new ExportFunction object.
Declaration
public ExportFunction(string name, uint address, ushort ordinal, string forwardName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of the function. |
| uint | address | Address of function. |
| ushort | ordinal | Ordinal of the function. |
| string | forwardName | Name of the DLL and function this export forwards to. |
Properties
| Edit this page View SourceAddress
Function RVA.
Declaration
public uint Address { get; }
Property Value
| Type | Description |
|---|---|
| uint |
ForwardName
Function name if the function is forwarded to another DLL. Format "DLLName.ExportName".
Declaration
public string? ForwardName { get; }
Property Value
| Type | Description |
|---|---|
| string |
HasForward
True if the export is forwarded and has a ForwardName.
Declaration
public bool HasForward { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasName
True if the export has a name and is not forwarded.
Declaration
public bool HasName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasOrdinal
True if the export has an ordinal.
Declaration
public bool HasOrdinal { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Function name.
Declaration
public string? Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Ordinal
Function Ordinal.
Declaration
public ushort Ordinal { get; }
Property Value
| Type | Description |
|---|---|
| ushort |