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