Export (0) Print
Expand All

X509Certificate.Reset Method

Resets the state of the X509Certificate2 object.

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

[ComVisibleAttribute(false)]
[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.

.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

  • SecurityCriticalAttribute 

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

  • InheritanceDemand 

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

Show:
© 2015 Microsoft