IAuthenticationModule.CanPreAuthenticate Property

 

Gets a value indicating whether the authentication module supports preauthentication.

Namespace:   System.Net
Assembly:  System (in System.dll)

abstract CanPreAuthenticate : bool with get

Property Value

Type: System.Boolean

true if the authorization module supports preauthentication; otherwise false.

The CanPreAuthenticate property is set to true to indicate that the authentication module can respond with a valid Authorization instance when the PreAuthenticate method is called.

Notes to Implementers:

This is typically a fixed value; either the authentication module can preauthenticate, or it cannot.

The following example shows how to use the CanPreAuthenticate property. For a complete example refer to the AuthenticationManager class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: