WindowsIdentity::Dispose Method ()
Releases all resources used by the WindowsIdentity.
Assembly: mscorlib (in mscorlib.dll)
Call WindowsIdentity. The method leaves the WindowsIdentity in an unusable state. After calling , you must release all references to the WindowsIdentity so the garbage collector can reclaim the memory that the WindowsIdentity was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.when you are finished using the
Available since 2.0