Table of Contents

Class SimpleNativeDetour

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll
A simple native detour from one address to another.
public sealed class SimpleNativeDetour
Inheritance
SimpleNativeDetour

Properties

Destination
Gets the detour target location.
DetourBackup
Gets the backup data for this detour. This contains the bytes which were originally at the detour location.
Source
Gets the detour source location.

Methods

ChangeTarget(nint)
Changes the target of this detour to newTarget.,
Dispose()
Undoes and cleans up this detour.
~SimpleNativeDetour()
Undoes and cleans up this detour.
Undo()
Undoes this detour. After this is called, the object is disposed, and may not be used.

See Also