Mono Class Library: System.Net Namespace

System.Net.CredentialCache Class

Provides storage for multiple credentials. [Edit]

See Also: CredentialCache Members

public class CredentialCache : IEnumerable, ICredentials, ICredentialsByHost

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

The System.Net.CredentialCache class stores credentials for multiple Internet resources. Applications that need to access multiple resources can store the credentials for those resources in a System.Net.CredentialCache instance that then provides the proper set of credentials for a given resource when required. When the CredentialCache.GetCredential(Uri, string) method is called, it compares the URI and authentication type provided with those stored in the cache, and returns the first set of credentials that match. [Edit]

Requirements

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