X509Certificate.Reset Method ()

 

Resets the state of the X509Certificate2 object.

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

[SecurityCriticalAttribute]
[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.

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.

.NET Framework
Available since 2.0
Return to top
Show: