X509Certificate2.ImageStatus Property
Gets the image status of the certificate.
public X509Certificate2ImageStatus ImageStatus { get; }
Property Value
Type: System.Net.Security.X509Certificate2ImageStatus
A value that indicates the image status of the certificate.
Remarks
The ImageStatus property provides information about whether the certificate can be used to sign or encrypt data.
Possible values include:
X509Certificate2ImageStatus.Unknown: The status could not be determined.X509Certificate2ImageStatus.Valid: The certificate is valid and can be used for signing and encryption.X509Certificate2ImageStatus.Invalid: The certificate is invalid and cannot be used.
Requirements
| Library | File |
|---|---|
| System.Security.Cryptography.X509Certificates | System.Security.dll |
See Also
Note: The functionality described in this topic is available starting with .NET Framework 4.7.2.