Click or drag to resize

ImpersonationSafeTokenHandle Class

Token handle used by LogonUser
Inheritance Hierarchy

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
public sealed class SafeTokenHandle : SafeHandleZeroOrMinusOneIsInvalid

The ImpersonationSafeTokenHandle type exposes the following members.

Properties
 NameDescription
Public propertyIsClosedGets a value indicating whether the handle is closed.
(Inherited from SafeHandle)
Public propertyIsInvalidGets a value that indicates whether the handle is invalid.
(Inherited from SafeHandleZeroOrMinusOneIsInvalid)
Top
Methods
 NameDescription
Public methodCloseMarks the handle for releasing and freeing resources.
(Inherited from SafeHandle)
Public methodDangerousAddRefManually increments the reference counter on SafeHandle instances.
(Inherited from SafeHandle)
Public methodDangerousGetHandleReturns the value of the handle field.
(Inherited from SafeHandle)
Public methodDangerousReleaseManually decrements the reference counter on a SafeHandle instance.
(Inherited from SafeHandle)
Public methodDisposeReleases all resources used by the SafeHandle class.
(Inherited from SafeHandle)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetHandleAsInvalidMarks a handle as no longer used.
(Inherited from SafeHandle)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
See Also