CertificateVerificationMode Enumeration

Namespace: System.Net.Security

Assembly: System.Net.Primitives.dll

Specifies the level of certificate validation that the System.Net.Security.SslStream class performs.

Syntax

public enum CertificateVerificationMode

Members

Remarks

When you use the SslStream class, you can specify the CertificateVerificationMode to indicate how certificate validation is performed.

This enumeration is used by the System.Net.Security.SslClientAuthenticationOptions.CertificateVerificationMode and System.Net.Security.SslServerAuthenticationOptions.CertificateVerificationMode properties.

Requirements

.NET Framework

Supported in: .NET Framework 4.5

Supported in: .NET Framework 4.0

Supported in: .NET Framework 3.5

Supported in: .NET Framework 2.0

.NET Core

Supported in: .NET Core 2.0

Supported in: .NET Core 1.0

.NET Standard

Supported in: .NET Standard 2.0

Supported in: .NET Standard 1.3

See Also

System.Net.Security Namespace
SslClientAuthenticationOptions
SslServerAuthenticationOptions