Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509Certificate::Dispose Method (Boolean)

.NET Framework (current version)
 

Releases all of the unmanaged resources used by this X509Certificate and optionally releases the managed resources.

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

protected:
virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System::Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

System_CAPS_noteNote

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.

.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft