System.Net.NetworkCredential.GetCredential Method

Returns an instance of the System.Net.NetworkCredential class for the specified Uniform Resource Identifier (URI) and authentication type.

Syntax

public NetworkCredential GetCredential (Uri uri, string authType)

Parameters

uri
The URI that the client provides authentication for.
authType
The type of authentication requested, as defined in the IAuthenticationModule.AuthenticationType property.

Returns

A System.Net.NetworkCredential object.

Remarks

Documentation for this section has not yet been entered.

Requirements

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