PolicyEnforcement Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The PolicyEnforcement enumeration specifies when the ExtendedProtectionPolicy should be enforced.

Namespace:   System.Security.Authentication.ExtendedProtection
Assembly:  System (in System.dll)

public enum PolicyEnforcement

Member nameDescription
Always

The ExtendedProtectionPolicy is always enforced. Clients that don’t support extended protection will fail to authenticate.

Never

The ExtendedProtectionPolicy is never enforced and extended protection is disabled.

WhenSupported

The ExtendedProtectionPolicy is enforced only if the client and server supports extended protection.

.NET Framework
Available since 2.0
Return to top
Show: