Method | Description | |
---|---|---|
Dispose ( ) : void |
Restores the initial protection of the memory.
|
|
MemoryProtection ( MemorySharp memorySharp, |
Initializes a new instance of the MemoryProtection class.
|
|
ToString ( ) : string |
Returns a string that represents the current object.
|
public MemoryProtection ( MemorySharp memorySharp, |
||
memorySharp | MemorySharp | The reference of the |
baseAddress | 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. |
return | System |