Nutdeep 1.0.2
See the version list below for details.
dotnet add package Nutdeep --version 1.0.2
NuGet\Install-Package Nutdeep -Version 1.0.2
<PackageReference Include="Nutdeep" Version="1.0.2" />
paket add Nutdeep --version 1.0.2
#r "nuget: Nutdeep, 1.0.2"
// Install Nutdeep as a Cake Addin #addin nuget:?package=Nutdeep&version=1.0.2 // Install Nutdeep as a Cake Tool #tool nuget:?package=Nutdeep&version=1.0.2
Nutdeep
Nutdeep - A light memory manager library made by C# lovers
Click here to check our Console APP example
Nuget URL
- Package Manager
- Install-Package Nutdeep -Version 1.0.2
- .NET CLI
- dotnet add package Nutdeep --version 1.0.2
ProcessHandler
By string
using (var handler = new ProcessHandler("ProcessName")) { ... }
By process id (System.Int32)
using (var handler = new ProcessHandler(ProcessId)) { ... }
By process (System.Diagnostics.Process)
using (var handler = new ProcessHandler(Process)) { ... }
If you are looking for Chrome Showckwave Flash process
using (var handler = new ProcessHandler("chrome&flash")) { ... }
You can find easily process that runs FlashPlayer this way
//using System.Linq
var flashPlayerProcesses = Process.GetProcesses()
.Where(p => p.RunsFlashPlayer()).ToArray();
MemoryScanner
using (var handler = new ProcessHandler(//))
{
//MemoryScanner needs for ProcessAccess (ProcessHandler : ProcessAccess)
MemoryScanner scanner = handler;
scanner.SetSettings(new ScanSettings()
{
Writable = ScanType.ONLY
});
/.../
}
Click here to check how ScanSettings is setup by default (that will be the setup if you dont specific it)
To perfom a scan
var addresses = scanner.SearchFor<T>(T obj);
Scan by signature
var addresses = scanner.SearchFor<Signature>("0I ?? LO ?? VE ?? CO ?? ?? DE");
To perform a next scan
var nextAddresses = scanner.NextSearchFor<T>(IntPtr[] addresses, T obj);
Next scan by signature
var nextAddresses = scanner.NextSearchFor<Signature>(addresses, "0I ?? LO ?? VE ?? CO ?? ?? DE");
MemoryDumper
using (var handler = new ProcessHandler(//))
{
//MemoryDumper needs for ProcessAccess (ProcessHandler : ProcessAccess)
MemoryDumper dumper = handler;
/.../
}
Read memory this way
var object = dumper.Read<T>(IntPtr address);
When T is String or Byte[] you can also define a length as the following
var byteArray = dumper.Read<byte[]>(IntPtr address, 16);
var str = dumper.Read<string>(IntPtr address, 16);
MemoryEditor
using (var handler = new ProcessHandler(//))
{
//MemoryDumper needs for ProcessAccess (ProcessHandler : ProcessAccess)
MemoryEditor editor = handler;
/.../
}
Edit memory this way
editor.Write(IntPtr address, T obj);
Where T might be:
- Char
- Single
- Byte[]
- String
- Boolean
- Decimal
- Int16/UInt16
- Int32/UInt32
- Int64/UInt64
- Signature : String (Only for MemoryScan)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
This package has 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.
Added wildcard, some encoding changes, missing exceptions, the capability to get automatically the Shockwave process from Google Chrome