Show / Hide Table of Contents

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 Source

ExportFunction(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.

| Improve this Doc View Source

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 Source

Address

Function RVA.

Declaration
public uint Address { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

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>
| Improve this Doc View Source

HasForward

True if the export is forwarded and has a ForwardName.

Declaration
public bool HasForward { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HasName

True if the export has a name and is not forwarded.

Declaration
public bool HasName { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HasOrdinal

True if the export has an ordinal.

Declaration
public bool HasOrdinal { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

Function name.

Declaration
public string? Name { get; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Ordinal

Function Ordinal.

Declaration
public ushort Ordinal { get; }
Property Value
Type Description
System.UInt16
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX