System.Net.AuthenticationSchemeSelector Delegate

Selects the authentication scheme for an System.Net.HttpListener instance.

Syntax

public delegate AuthenticationSchemes AuthenticationSchemeSelector (HttpListenerRequest httpRequest)

Parameters

httpRequest
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Delegates of this type are used by System.Net.HttpListener instances to select an authentication scheme based on the characteristics of a request.

An System.Net.AuthenticationSchemeSelector delegate is passed an System.Net.HttpListenerRequest object for each incoming request that has not provided authentication information. The method invoked by the delegate uses the System.Net.HttpListenerRequest object and any other available information to decide which authentication scheme to require. The delegate is specified by using the HttpListener.AuthenticationSchemeSelectorDelegate property.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0