Skip to content

InjectedModule ​

Represents a module that has been injected into a process.

Kind: Class

Namespace: ConnectorLib.Inject

Public Constructors

InjectedModule(ProcessLink process, IntPtr moduleBase, PeFile peFile)

Creates a new instance of the ConnectorLib.Inject.InjectedModule class.

Public Member Functions

bool

TryCall(string functionName, object[] parameters, bool varParams)

Calls a function in the remote module.

bool

TryCall<TReturn>(string functionName, object[] parameters, bool varParams, TReturn out result)

Calls a function in the remote module.

bool

TryCall(string functionName, object[] parameters, bool varParams, Type returnType, object out result)

Calls a function in the remote module.

bool

TryGetFunctionAddress(string funcName, IntPtr out address)

Attempts to get the address of an exported function by its name.

Properties

ProcessLink

Process

[get, ]

The connector to the process where the module is injected.

IntPtr

ModuleBase

[get, ]

The base address of the module in the process.

PeFile

PeFile

[get, ]

The PE file information of the module.