A chunk in another processes memory. Mostly used to allocate buffers
in another process for sending messages to its windows.
| C# |
public class ProcessMemoryChunk : IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ProcessMemoryChunk(Process, IntPtr, Int32) |
Create a new memory chunk that points to existing memory.
Mostly used to read that memory.
| |
| Alloc(Process, Int32) |
Allocate a chunk in another process.
| |
| AllocStruct(Process, Object) |
Allocate a chunk in another process and unmarshal a struct
there.
| |
| Dispose()()() |
Free the memory in the other process, if it has been allocated before.
| |
| Location |
The location in memory (of the other process) this chunk refers to.
| |
| Process |
The process this chunk refers to.
| |
| Read()()() |
Read this chunk.
| |
| Read(Int32, Int32) |
Read a part of this chunk.
| |
| ReadToPtr(IntPtr) |
Read this chunk to a pointer in this process.
| |
| ReadToPtr(Int32, Int32, IntPtr) |
Read a part of this chunk to a pointer in this process.
| |
| ReadToStructure(Int32, Type) |
Read a part of this chunk to a structure.
| |
| Size |
The size of the chunk.
| |
| Write(Int32, IntPtr, Int32) |
Write into this chunk.
| |
| Write(Int32, array<Byte>[]()[]) |
Write a byte array into this chunk.
| |
| WriteStructure(Int32, Object) |
Write a structure into this chunk.
|
| Object | |
| ProcessMemoryChunk | |