System.Net.IAuthenticationModule.Authenticate Method

Returns an instance of the System.Net.Authorization class in respose to an authentication challenge from a server.

Syntax

public Authorization Authenticate (string challenge, WebRequest request, ICredentials credentials)

Parameters

challenge
The authentication challenge sent by the server.
request
The System.Net.WebRequest instance associated with the challenge.
credentials
The credentials associated with the challenge.

Returns

An System.Net.Authorization instance containing the authorization message for the request, or null if the challenge cannot be handled.

Remarks

The IAuthenticationModule.Authenticate(string, WebRequest, ICredentials) method conducts the authentication process with the server and returns an System.Net.Authorization instance to the System.Net.AuthenticationManager.

Requirements

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