C# Class Detours.Memory

Static memory methods.
显示文件 Open project: xcvd/Detours

Public Methods

Method Description
Read ( IntPtr address, int length ) : byte[]

Reads memory as a byte array.

Write ( IntPtr address, byte value ) : void

Write bytes to memory.

Private Methods

Method Description
VirtualProtect ( IntPtr address, uint size, uint newProtect, uint &oldProtect ) : bool

Method Details

Read() public static method

Reads memory as a byte array.
public static Read ( IntPtr address, int length ) : byte[]
address System.IntPtr /// The address. ///
length int /// The length. ///
return byte[]

Write() public static method

Write bytes to memory.
public static Write ( IntPtr address, byte value ) : void
address System.IntPtr /// The address to write to. ///
value byte /// The value of bytes to be written. ///
return void