SessionAuthentication Enum

Definition

Defines values for the type of authentication used during a Remote Procedure Call (RPC) login to a server. This login occurs when you create a EventLogSession object that specifies a connection to a remote computer.

C#
public enum SessionAuthentication
Inheritance
SessionAuthentication

Fields

Name Value Description
Default 0

Use the default authentication method during RPC login. The default authentication is equivalent to Negotiate.

Negotiate 1

Use the Negotiate authentication method during RPC login. This allows the client application to select the most appropriate authentication method (NTLM or Kerberos) for the situation.

Kerberos 2

Use Kerberos authentication during RPC login.

Ntlm 3

Use Windows NT LAN Manager (NTLM) authentication during RPC login.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also