Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PolicyEnforcement Enumeration

The PolicyEnforcement enumeration specifies when the ExtendedProtectionPolicy should be enforced.

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

'Declaration
Public Enumeration 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
Show:
© 2015 Microsoft