Frees resources before the WindowsIdentity is reclaimed by the Garbage Collector.
[C#] In C#, finalizers are expressed using destructor syntax.
[C++] In C++, finalizers are expressed using destructor syntax.
[Visual Basic] Overrides Protected Sub Finalize() [C#] ~WindowsIdentity(); [C++] ~WindowsIdentity(); [JScript] protected override function Finalize();
This method overrides Object.Finalize. Application code should not call this method; an object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the GC.SuppressFinalize method.
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family