C# Class Binarysharp.MemoryManagement.Native.SafeMemoryHandle

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Afficher le fichier Open project: ZenLulz/MemorySharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ReleaseHandle ( ) : bool

Method Details

SafeMemoryHandle() public méthode

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

SafeMemoryHandle() public méthode

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.
Résultat System