Class System.Net.Security.AuthenticationLevel
Namespace: System.Net.Security
Specifies the level of authentication services provided by the transport.
Members
-
None
No authentication is performed.
None
- No authentication is performed.
-
Integrity
The server must authenticate the client, and the server's identity must be known to the client. The connection is protected against message modification.
Integrity
- The server must authenticate the client, and the server's identity must be known to the client. The connection is protected against message modification.
-
MutualAuth
The server must authenticate the client, and the client must authenticate the server. The connection is protected against message modification.
MutualAuth
- The server must authenticate the client, and the client must authenticate the server. The connection is protected against message modification.
-
RequireClientCert
The server must authenticate the client, and the server's identity must be known to the client. The connection is protected against message modification and impersonation. The client must provide a certificate.
RequireClientCert
- The server must authenticate the client, and the server's identity must be known to the client. The connection is protected against message modification and impersonation. The client must provide a certificate.
Remarks
The
AuthenticationLevel enumeration is used to specify the level of authentication services that the transport protocol provides. This enumeration is used by the
SslStream class and related classes.
The values in this enumeration represent different levels of security guarantees for network communications.
Syntax
public enum AuthenticationLevel
Requirements
Namespace: System.Net.Security
Assembly: System.Net.Primitives (in System.Net.Primitives.dll)
.NET Framework versions: Available in .NET Framework 1.1 and later.
.NET Standard versions: Available in .NET Standard 1.3 and later.