Reset Method

X509Certificate.Reset Method ()


Resets the state of the X509Certificate2 object.

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

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

Use the Reset method to reset the state of the certificate. This method also frees any resources associated with the certificate.


requires full trust for the immediate caller. This class cannot be used by partially trusted or transparent code.


for full trust for inheritors. This member cannot be inherited by partially trusted code.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft