C# 클래스 AgaHackTools.Memory.MemoryProtection

상속: IDisposable
파일 보기 프로젝트 열기: aganonki/HackTools

공개 메소드들

메소드 설명
ChangeMemoryProtection ( MemoryProtectionFlags protection ) : MemoryProtectionFlags

Changes the protection on a region of committed pages in the virtual address space of a specified process.

Dispose ( ) : void

Restores the initial protection of the memory.

MemoryProtection ( SafeMemoryHandle handle, IntPtr address, int size, bool @internal = true, MemoryProtectionFlags protection = MemoryProtectionFlags.ExecuteReadWrite ) : System

메소드 상세

ChangeMemoryProtection() 공개 메소드

Changes the protection on a region of committed pages in the virtual address space of a specified process.
public ChangeMemoryProtection ( MemoryProtectionFlags protection ) : MemoryProtectionFlags
protection MemoryProtectionFlags The memory protection option.
리턴 MemoryProtectionFlags

Dispose() 공개 메소드

Restores the initial protection of the memory.
public Dispose ( ) : void
리턴 void

MemoryProtection() 공개 메소드

public MemoryProtection ( SafeMemoryHandle handle, IntPtr address, int size, bool @internal = true, MemoryProtectionFlags protection = MemoryProtectionFlags.ExecuteReadWrite ) : System
handle AgaHackTools.Main.Memory.SafeMemoryHandle
address System.IntPtr
size int
@internal bool
protection MemoryProtectionFlags
리턴 System