This documentation is archived and is not being maintained.

PolicyEnforcement Enumeration

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
NeverThe ExtendedProtectionPolicy is never enforced and extended protection is disabled.
WhenSupportedThe ExtendedProtectionPolicy is enforced only if the client supports extended protection.
AlwaysThe ExtendedProtectionPolicy is always enforced. Clients that don’t support extended protection will fail to authenticate.

Windows 7, Windows Server 2008 R2

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Show: