Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Clear Method

SymmetricAlgorithm.Clear Method

Releases all resources used by the SymmetricAlgorithm.

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();
[C++]
public: void Clear();
[JScript]
public function Clear();

Remarks

This method is a simple call to IDisposable.Dispose.

Calling Dispose allows the resources used by the SymmetricAlgorithm to be reallocated for other purposes. For more information about Dispose, see Cleaning Up Unmanaged Resources.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SymmetricAlgorithm Class | SymmetricAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2015 Microsoft