ValidationResult Enumeration
Represents the result of a certificate validation operation.
Namespace
System.Net.Security
Assembly
System.Net.Security.dll
Syntax
[SerializableAttribute]
public enum ValidationResult
Members
| Member | Description |
|---|---|
Success |
The certificate is valid. |
Invalid |
The certificate is invalid. |
UnknownError |
An unknown error occurred during validation. |
Remarks
The ValidationResult enumeration is used by the RemoteCertificateValidationCallback delegate to indicate the outcome of validating a remote certificate. A value of Success means the certificate has been successfully validated and can be trusted. A value of Invalid indicates that the certificate is not valid for use, and UnknownError signifies a problem during the validation process that doesn't fall into the other categories.
Requirements
Client: Supported in Windows 7, Windows Vista, Windows XP SP2; Windows Server 2008, Windows Server 2003 SP1; .NET Framework 4.5, 4.0, 3.5, 3.0, 2.0
Server: Supported in Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003 SP1; .NET Framework 4.5, 4.0, 3.5, 3.0, 2.0
Product: The .NET Framework is used in .NET.