Export (0) Print
Expand All

X509Certificate2.Reset Method

Resets the state of an X509Certificate2 object.

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

[PermissionSetAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
public override void Reset()

This method can be used to reset the state of the certificate. It also frees any resources associated with the certificate.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft