Credential.

GetCredential() Method

Summary

Returns a System.Net.NetworkCredential instance representing the current NAnt.Core.Types.Credential.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
Credential

Syntax

public ICredentials GetCredential()

Return Value

Type Description
ICredentials A System.Net.NetworkCredential instance representing the current NAnt.Core.Types.Credential, or null if the credentials should not be used to provide authentication information to the external resource.