C# Class LazyCopy.Utilities.Native.SafeTokenHandle

Represents a wrapper class for a find handle used by the NativeMethods.OpenProcessToken function.
Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Afficher le fichier Open project: aleksk/LazyCopy

Méthodes publiques

Méthode Description
SafeTokenHandle ( ) : Microsoft.Win32.SafeHandles

Initializes a new instance of the SafeTokenHandle class.

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

When overridden in a derived class, executes the code required to free the handle.

Method Details

ReleaseHandle() protected méthode

When overridden in a derived class, executes the code required to free the handle.
protected ReleaseHandle ( ) : bool
Résultat bool

SafeTokenHandle() public méthode

Initializes a new instance of the SafeTokenHandle class.
public SafeTokenHandle ( ) : Microsoft.Win32.SafeHandles
Résultat Microsoft.Win32.SafeHandles