X509Certificate.Reset X509Certificate.Reset X509Certificate.Reset X509Certificate.Reset Method

Definition

Resets the state of the X509Certificate2 object.

public:
 virtual void Reset();
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.SecurityCritical]
public virtual void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Overridable Sub Reset ()

Remarks

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

Security

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.

Applies to