Interface ISystem
Represents a host operating system.
public interface ISystem
Properties
- DefaultAbi
- Gets the default ABI for this OS, if there is one.
- Features
- Gets the set of SystemFeatures that this instance supports. Some members may only be available with certain feature flags set.
- MemoryAllocator
- Gets the IMemoryAllocator for this OS.
- NativeExceptionHelper
- Gets the INativeExceptionHelper for this OS, if it is needed.
Methods
- EnumerateLoadedModuleFiles()
- Enumerates all modules which are loaded in the process and yields their file names.
- GetSizeOfReadableMemory(nint, nint)
- Gets an approximate amount of memory after
start
which is readable.
- PatchData(PatchTargetKind, nint, ReadOnlySpan<byte>, Span<byte>)
- Patches
patchTarget
to contain the data indata
, while creating a backup of the data which was previously there inbackup
.