NetworkCredentialCache Class
Represents a cache of NetworkCredential objects.
System.Net.Security
NetworkCredentialCache
Inheritance Hierarchy
Object
NetworkCredentialCache
Remarks
The NetworkCredentialCache class stores NetworkCredential objects and provides them to the CredentialCache class when a client application needs to authenticate to a server.
This class is used internally by the .NET Framework's networking classes to manage authentication credentials.
Public Constructors
public NetworkCredentialCache();
Public Methods
- GetCredential(Uri uri, string authType)
- Returns a NetworkCredential object that contains the username, password, and domain for the specified Uri and authentication type.
- SetCredential(NetworkCredential credential, Uri uri, string authType)
- Stores a NetworkCredential object in the cache for the specified Uri and authentication type.