Click or drag to resize

SafeTokenHandle Class

Represents a wrapper class for a token handle.
Inheritance Hierarchy

Namespace: TomsToolbox.Desktop
Assembly: TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public class SafeTokenHandle : SafeHandleZeroOrMinusOneIsInvalid

The SafeTokenHandle type exposes the following members.

Constructors
 NameDescription
Public methodSafeTokenHandle Initializes a new instance of the SafeTokenHandle class.
Top
Methods
 NameDescription
Protected methodReleaseHandle When overridden in a derived class, executes the code required to free the handle.
(Overrides SafeHandleReleaseHandle)
Top
Extension Methods
 NameDescription
Public Extension MethodSafeCastT Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions)
Top
See Also