Mono Class Library: System.Net.CredentialCache Overview | Members

System.Net.CredentialCache.Remove Method

Deletes a System.Net.NetworkCredential instance from the cache. [Edit]

public void Remove (Uri uriPrefix, string authType)

Parameters

uriPrefix
A Uri that specifies the resources for which the credential is used. [Edit]
authType
A string containing the authentication type used by the resource named in uriPrefix . This string is required to be identical to the IAuthenticationModule.AuthenticationType of the authentication module that uses the credential. [Edit]

Remarks

The CredentialCache.Remove(Uri, string) method locates and removes the System.Net.NetworkCredential instance that is cached for the specified URI prefix and authentication type. If there is no match found in the cache for the specified values, this method has no effect. The uriPrefix and authType values are required to exactly match the values supplied at the time the credential was added to the cache.
Note: For additional information, see CredentialCache.Add(Uri, string, NetworkCredential).
[Edit]

Requirements

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