Resets all properties of the current X509Certificate2 object to their default values. This method is useful when you need to clear all cached information about the certificate, such as its decoded properties or any extensions, and re-evaluate them when they are next accessed.
Calling Reset() discards any previously parsed or cached data associated with the certificate. Subsequent access to properties like SubjectName, IssuerName, or Extensions will trigger a re-parsing of the certificate data.
This method does not take any parameters.
This method does not return a value.
X509Certificate2 object before calling Reset(), those properties will be re-parsed and re-evaluated upon subsequent access.This method does not throw any exceptions.
System.Net.Security in your code.System.Security.Cryptography.X509Certificates.dll.