C# Class AgaHackTools.Memory.Memory

Implementation of IMemory
Inheritance: Pointer, ISmartMemory
Mostra file Open project: aganonki/HackTools

Public Methods

Method Description
Dispose ( ) : void

Releases all resources used by the object.

GetModule ( string name ) : ProcessModule

Retrieves the process-module with the given name, returns null if not found

Load ( ) : void

Gets process from name and open handle. If Name is null or empty then consider it as internal and get current process.

Memory ( string name = null ) : System

Creates memory class. Id name is null or empty the its internal memory class

OpenHandle ( ProcessAccessFlags flags ) : SafeMemoryHandle

Opens a handle to a process

this ( string moduleName ) : IProcessModule

Allows to read from modules of without manual BaseAdress. For ex.: memory["client.dll"].Read(offset);

Private Methods

Method Description
FetchModule ( string moduleName ) : IProcessModule

Method Details

Dispose() public method

Releases all resources used by the object.
public Dispose ( ) : void
return void

GetModule() public method

Retrieves the process-module with the given name, returns null if not found
public GetModule ( string name ) : ProcessModule
name string
return System.Diagnostics.ProcessModule

Load() public method

Gets process from name and open handle. If Name is null or empty then consider it as internal and get current process.
public Load ( ) : void
return void

Memory() public method

Creates memory class. Id name is null or empty the its internal memory class
public Memory ( string name = null ) : System
name string
return System

OpenHandle() public method

Opens a handle to a process
public OpenHandle ( ProcessAccessFlags flags ) : SafeMemoryHandle
flags ProcessAccessFlags ProcessAccessFlags to use
return AgaHackTools.Main.Memory.SafeMemoryHandle

this() public method

Allows to read from modules of without manual BaseAdress. For ex.: memory["client.dll"].Read(offset);
public this ( string moduleName ) : IProcessModule
moduleName string ModuleName
return IProcessModule