Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property ExtendedProtectionPolicy^ ExtendedProtectionPolicy {
	ExtendedProtectionPolicy^ get();
	void set(ExtendedProtectionPolicy^ value);
}

Property Value

Type: System.Security.Authentication.ExtendedProtection::ExtendedProtectionPolicy^

A ExtendedProtectionPolicy that specifies the policy to use for extended protection.

Exception Condition
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
Available since 2.0
Return to top
Show:
© 2017 Microsoft