C# Class trainer.ProcessMemory

Show file Open project: apeape/trainer

Protected Properties

Property Type Description
Encoding System.Text.Encoding
Handle System.IntPtr
Process System.Diagnostics.Process

Public Methods

Method Description
Close ( ) : bool
GetDebugPriviledges ( ) : bool
Open ( Process process ) : bool
ProcessMemory ( ) : System
Read ( UInt32 address, byte &data ) : UInt32
Read ( UInt32 address, byte &data, UInt32 size ) : UInt32
ReadF32 ( UInt32 address ) : float
ReadF64 ( UInt32 address ) : double
ReadS16 ( UInt32 address ) : Int16
ReadS32 ( UInt32 address ) : Int32
ReadS64 ( UInt32 address ) : System.Int64
ReadS8 ( UInt32 address ) : SByte
ReadString ( UInt32 address ) : string
ReadU16 ( UInt32 address ) : UInt16
ReadU32 ( UInt32 address ) : UInt32
ReadU64 ( UInt32 address ) : System.UInt64
ReadU8 ( UInt32 address ) : Byte
Resume ( ) : bool
Suspend ( ) : bool
Write ( UInt32 address, byte &data ) : UInt32
Write ( UInt32 address, byte &data, UInt32 size ) : UInt32
WriteF32 ( UInt32 address, float value ) : void
WriteF64 ( UInt32 address, double value ) : void
WriteS16 ( UInt32 address, Int16 value ) : void
WriteS32 ( UInt32 address, Int32 value ) : void
WriteS64 ( UInt32 address, System.Int64 value ) : void
WriteS8 ( UInt32 address, SByte value ) : void
WriteU16 ( UInt32 address, UInt16 value ) : void
WriteU32 ( UInt32 address, UInt32 value ) : void
WriteU64 ( UInt32 address, System.UInt64 value ) : void
WriteU8 ( UInt32 address, Byte value ) : void

Protected Methods

Method Description
ResumeThread ( int id ) : bool
SuspendThread ( int id ) : bool

Method Details

Close() public method

public Close ( ) : bool
return bool

GetDebugPriviledges() public method

public GetDebugPriviledges ( ) : bool
return bool

Open() public method

public Open ( Process process ) : bool
process System.Diagnostics.Process
return bool

ProcessMemory() public method

public ProcessMemory ( ) : System
return System

Read() public method

public Read ( UInt32 address, byte &data ) : UInt32
address System.UInt32
data byte
return System.UInt32

Read() public method

public Read ( UInt32 address, byte &data, UInt32 size ) : UInt32
address System.UInt32
data byte
size System.UInt32
return System.UInt32

ReadF32() public method

public ReadF32 ( UInt32 address ) : float
address System.UInt32
return float

ReadF64() public method

public ReadF64 ( UInt32 address ) : double
address System.UInt32
return double

ReadS16() public method

public ReadS16 ( UInt32 address ) : Int16
address System.UInt32
return System.Int16

ReadS32() public method

public ReadS32 ( UInt32 address ) : Int32
address System.UInt32
return System.Int32

ReadS64() public method

public ReadS64 ( UInt32 address ) : System.Int64
address System.UInt32
return System.Int64

ReadS8() public method

public ReadS8 ( UInt32 address ) : SByte
address System.UInt32
return SByte

ReadString() public method

public ReadString ( UInt32 address ) : string
address System.UInt32
return string

ReadU16() public method

public ReadU16 ( UInt32 address ) : UInt16
address System.UInt32
return System.UInt16

ReadU32() public method

public ReadU32 ( UInt32 address ) : UInt32
address System.UInt32
return System.UInt32

ReadU64() public method

public ReadU64 ( UInt32 address ) : System.UInt64
address System.UInt32
return System.UInt64

ReadU8() public method

public ReadU8 ( UInt32 address ) : Byte
address System.UInt32
return Byte

Resume() public method

public Resume ( ) : bool
return bool

ResumeThread() protected method

protected ResumeThread ( int id ) : bool
id int
return bool

Suspend() public method

public Suspend ( ) : bool
return bool

SuspendThread() protected method

protected SuspendThread ( int id ) : bool
id int
return bool

Write() public method

public Write ( UInt32 address, byte &data ) : UInt32
address System.UInt32
data byte
return System.UInt32

Write() public method

public Write ( UInt32 address, byte &data, UInt32 size ) : UInt32
address System.UInt32
data byte
size System.UInt32
return System.UInt32

WriteF32() public method

public WriteF32 ( UInt32 address, float value ) : void
address System.UInt32
value float
return void

WriteF64() public method

public WriteF64 ( UInt32 address, double value ) : void
address System.UInt32
value double
return void

WriteS16() public method

public WriteS16 ( UInt32 address, Int16 value ) : void
address System.UInt32
value System.Int16
return void

WriteS32() public method

public WriteS32 ( UInt32 address, Int32 value ) : void
address System.UInt32
value System.Int32
return void

WriteS64() public method

public WriteS64 ( UInt32 address, System.Int64 value ) : void
address System.UInt32
value System.Int64
return void

WriteS8() public method

public WriteS8 ( UInt32 address, SByte value ) : void
address System.UInt32
value SByte
return void

WriteU16() public method

public WriteU16 ( UInt32 address, UInt16 value ) : void
address System.UInt32
value System.UInt16
return void

WriteU32() public method

public WriteU32 ( UInt32 address, UInt32 value ) : void
address System.UInt32
value System.UInt32
return void

WriteU64() public method

public WriteU64 ( UInt32 address, System.UInt64 value ) : void
address System.UInt32
value System.UInt64
return void

WriteU8() public method

public WriteU8 ( UInt32 address, Byte value ) : void
address System.UInt32
value Byte
return void

Property Details

Encoding protected property

protected Encoding,System.Text Encoding
return System.Text.Encoding

Handle protected property

protected IntPtr,System Handle
return System.IntPtr

Process protected property

protected Process,System.Diagnostics Process
return System.Diagnostics.Process