Memory.Net
0.0.0.6
dotnet add package Memory.Net --version 0.0.0.6
NuGet\Install-Package Memory.Net -Version 0.0.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Memory.Net" Version="0.0.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Memory.Net --version 0.0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Memory.Net, 0.0.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Memory.Net as a Cake Addin #addin nuget:?package=Memory.Net&version=0.0.0.6 // Install Memory.Net as a Cake Tool #tool nuget:?package=Memory.Net&version=0.0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
📦 Memory.Net
Memory.Net - .Net C# Memory Manipulation & Exploitation Library, With Features Such As Pattern Scanning, Memory Basic Manipulation, Disassembly, Thread & Module Manipulation And Much More.
Memory.Net - Documentation
using Memory.Net;
using static Memory.Net.Interop.Native;
namespace Application;
internal class Program
{
/* Todo: Improved Naming & Namespacing. */
static Memory.Net.Memory Memory = new Memory.Net.Memory("notepad", Architecture.Auto);
static void Main(string[] Parameters)
{
byte[] Buffer = Encoding.ASCII.GetBytes("Marissa Is The Coolest.");
IntPtr Allocation = Memory.Allocate(
Buffer.Length,
MemoryProtection.ReadWriteExecute);
if (Allocation == IntPtr.Zero)
throw new Exception("Failed To Allocate Memory.");
Console.WriteLine($" Address - {(long)Allocation:X}");
if (!Memory.Write(
Allocation,
Buffer))
throw new Exception("Failed To Write Buffer To Memory.");
string Output = Memory.Read<string>(
Allocation,
Buffer.Length);
if (Output == string.Empty)
throw new Exception("Failed To Read Memory.");
Console.WriteLine($" Allocation Msg - {Output}");
Thread.Sleep(-1);
}
}
Using The Instance Created You Can Proceed To Call And Use Memory.Net's Functions To The Fullest Extent,
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Updated Core Memory Factory And Its Usage.