X509Certificate::Dispose Method
Releases the resources used by the current X509Certificate object.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the current X509Certificate object. |
![]() | Dispose(Boolean) | Releases all of the unmanaged resources used by this X509Certificate and optionally releases the managed resources. |
Note |
|---|
X509Certificate implements the IDisposable interface starting with the .NET Framework 4.6; in previous versions of the .NET Framework, the X509Certificate class does not implement this interface, and therefore the Dispose method does not exist. |


