Edit

Share via


AuthenticationLevel Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Describes the authentication level to be used to connect to WMI. This is used for the COM connection to WMI.

C#
public enum AuthenticationLevel
Inheritance
AuthenticationLevel

Fields

Name Value Description
Unchanged -1

Authentication level should remain as it was before.

Default 0

The default COM authentication level. WMI uses the default Windows Authentication setting.

None 1

No COM authentication.

Connect 2

Connect-level COM authentication.

Call 3

Call-level COM authentication.

Packet 4

Packet-level COM authentication.

PacketIntegrity 5

Packet Integrity-level COM authentication.

PacketPrivacy 6

Packet Privacy-level COM authentication.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)