PolicyEnforcement Enumeration

The PolicyEnforcement enumeration specifies when the ExtendedProtectionPolicy should be enforced.

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

public enum class PolicyEnforcement

Member nameDescription
AlwaysThe ExtendedProtectionPolicy is always enforced. Clients that don’t support extended protection will fail to authenticate.
NeverThe ExtendedProtectionPolicy is never enforced and extended protection is disabled.
WhenSupportedThe ExtendedProtectionPolicy is enforced only if the client and server supports extended protection.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft