Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpListener.ExtendedProtectionPolicy Property

Get or set the ExtendedProtectionPolicy to use for extended protection for a session.

Namespace:  System.Net
Assembly:  System (in System.dll)
public ExtendedProtectionPolicy ExtendedProtectionPolicy { get; set; }

Property Value

Type: System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
A ExtendedProtectionPolicy that specifies the policy to use for extended protection.
ExceptionCondition
ArgumentException

An attempt was made to set the ExtendedProtectionPolicy property, but the CustomChannelBinding property was not null.

ArgumentNullException

An attempt was made to set the ExtendedProtectionPolicy property to null.

InvalidOperationException

An attempt was made to set the ExtendedProtectionPolicy property after the Start method was already called.

ObjectDisposedException

This object is closed.

PlatformNotSupportedException

The PolicyEnforcement property was set to Always on a platform that does not support extended protection.

The ExtendedProtectionPolicy property is used with integrated Windows authentication to provide extended protection. The ExtendedProtectionPolicy property allows the configuration of the extended protection policy for the whole HttpListener session. The ExtendedProtectionSelectorDelegate property allows the configuration of the extended protection policy for each individual request.

The CustomChannelBinding property must be null. The HttpListener instance gets the Channel Binding Token (CBT) directly from its own TLS session if there is one.

.NET Framework

Supported in: 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.