Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509Certificate::Reset Method ()

 

Resets the state of the X509Certificate2 object.

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

public:
[SecurityCriticalAttribute]
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Unrestricted = true)]
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:
© 2017 Microsoft