Redigera

Dela via


X509Certificate.Reset Method

Definition

Resets the state of the X509Certificate2 object.

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

Remarks

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

Applies to