Returns a NetworkCredential instance representing the current Credential.
A NetworkCredential instance representing the current Credential, or a null reference (Nothing in Visual Basic) if the credentials should not be used to provide authentication information to the external resource.
Credential Class | NAnt.Core.Types Namespace