Share via


Clear Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Releases all resources used by the AsymmetricAlgorithm class.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Sub Clear
public void Clear()
public:
void Clear()
member Clear : unit -> unit 
public function Clear()

Remarks

This method is a simple call to the IDisposable..::..Dispose method.

Calling Dispose allows the resources used by the AsymmetricAlgorithm class to be reallocated for other purposes.

.NET Framework Security

See Also

Reference

AsymmetricAlgorithm Class

System.Security.Cryptography Namespace