Click or drag to resize

SafeTokenHandle Methods

The ImpersonationSafeTokenHandle type exposes the following members.

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