C# Class Binarysharp.MemoryManagement.Native.SafeMemoryHandle

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Mostrar archivo Open project: ZenLulz/MemorySharp Class Usage Examples

Public Methods

Method Description
SafeMemoryHandle ( ) : System

Parameterless constructor for handles built by the system (like NativeMethods.OpenProcess).

SafeMemoryHandle ( IntPtr handle ) : System

Initializes a new instance of the SafeMemoryHandle class, specifying the handle to keep in safe.

Private Methods

Method Description
ReleaseHandle ( ) : bool

Method Details

SafeMemoryHandle() public method

Parameterless constructor for handles built by the system (like NativeMethods.OpenProcess).
public SafeMemoryHandle ( ) : System
return System

SafeMemoryHandle() public method

Initializes a new instance of the SafeMemoryHandle class, specifying the handle to keep in safe.
public SafeMemoryHandle ( IntPtr handle ) : System
handle System.IntPtr The handle to keep in safe.
return System