Skip to content

API_CSharp

Ulf Frisk edited this page Jul 29, 2024 · 2 revisions

C# API

Most functionality in the Memory Process File System is made available in a C# API for the use by developers. The C# API is a wrapper for the C/C++ API. Since the MemProcFS native library is 64-bit only the C# process must be running in 64-bit mode to be able to make use of the C# library.

The C# library is a wrapper library. The native vmm.dll and leechcore.dll must still be pointed to by the library. Pre-built versions of the native library is found in the MemProcFS releases section.

The C# library exists in the Vmmsharp project. Examples about how to use Vmmsharp is found in the Vmmsharp example project.

NuGet package:

A Vmmsharp NuGet package is available for use. Note that even with the NuGet package the native library is required.

Example:

An example file containing a lot of use cases are found in the file VmmsharpExample.cs in the Vmmsharp example project in the visual studio solution.

Functionality:

The functionality mirror the functionality of the C/C++ API at large. Please consult the C# API sources or the C/C++ API documentation for information and guidance.

Clone this wiki locally