Provides credentials for password-based authentication schemes such as basic, digest, NTLM and Kerberos.
Object
NetworkCredential
[Visual Basic] Public Class NetworkCredential [C#] public class NetworkCredential [C++] public __gc class NetworkCredential [JScript] public class NetworkCredential
This class does not support public-key based authentication methods such as SSL client authentication.
Namespace: System.Net
Assembly: System.net.dll