Nutdeep 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nutdeep --version 1.0.2                
NuGet\Install-Package Nutdeep -Version 1.0.2                
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="Nutdeep" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nutdeep --version 1.0.2                
#r "nuget: Nutdeep, 1.0.2"                
#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 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 NutdeepIcon

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 Compatible and additional computed target framework versions.
.NET Framework net471 is compatible.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.3 1,646 11/3/2017
1.0.2 1,309 11/3/2017

Added wildcard, some encoding changes, missing exceptions, the capability to get automatically the Shockwave process from Google Chrome