C# 클래스 Binarysharp.MemoryManagement.Memory.MemoryProtection

Class providing tools for manipulating memory protection.
상속: IDisposable
파일 보기 프로젝트 열기: ZenLulz/MemorySharp

공개 메소드들

메소드 설명
Dispose ( ) : void

Restores the initial protection of the memory.

MemoryProtection ( MemorySharp memorySharp, IntPtr baseAddress, int size, MemoryProtectionFlags protection = MemoryProtectionFlags.ExecuteReadWrite, bool mustBeDisposed = true ) : System

Initializes a new instance of the MemoryProtection class.

ToString ( ) : string

Returns a string that represents the current object.

메소드 상세

Dispose() 공개 메소드

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

MemoryProtection() 공개 메소드

Initializes a new instance of the MemoryProtection class.
public MemoryProtection ( MemorySharp memorySharp, IntPtr baseAddress, int size, MemoryProtectionFlags protection = MemoryProtectionFlags.ExecuteReadWrite, bool mustBeDisposed = true ) : System
memorySharp MemorySharp The reference of the object.
baseAddress System.IntPtr The base address of the memory to change the protection.
size int The size of the memory to change.
protection MemoryProtectionFlags The new protection to apply.
mustBeDisposed bool The resource will be automatically disposed when the finalizer collects the object.
리턴 System

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string