Releases the unmanaged resources used by the SymmetricAlgorithm.
[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#] ~SymmetricAlgorithm(); [C++] ~SymmetricAlgorithm(); [JScript] protected override function Finalize();
This method is guaranteed to be called before the object is destroyed, even if an exception occurs. Clearing the KeyValue parameter prevents the secret key for the symmetric algorithm from being disclosed to other applications.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family