Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CanPreAuthenticate Property
Collapse the table of content
Expand the table of content

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft