Mono Class Library: System.Net.IAuthenticationModule Overview | Members

System.Net.IAuthenticationModule.CanPreAuthenticate Property

Gets a bool value indicating whether the authentication module supports preauthentication. [Edit]

public bool CanPreAuthenticate { get; }

Value

true if the authentication module supports preauthentication; otherwise false. [Edit]

Remarks

This property is read-only.

Operation
The IAuthenticationModule.CanPreAuthenticate property is set to true to indicate that the authentication module can respond with a System.Net.Authorization instance when the IAuthenticationModule.PreAuthenticate(WebRequest, ICredentials) method is called. This property returns false if the protocol implemented by the current authentication module does not support preauthentication.

Usage
This method is used by the authentication manager to determine which modules receive requests by clients for authentication information that will be supplied in anticipation of a server's request for authentication. This method controls whether the IAuthenticationModule.PreAuthenticate(WebRequest, ICredentials) method can be called.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0