CredentialCache.Remove Method (Uri, String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Deletes a NetworkCredential instance from the cache if it is associated with the specified Uniform Resource Identifier (URI) prefix and authentication protocol.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

Syntax

Public Sub Remove ( _
    uriPrefix As Uri, _
    authType As String _
)
public void Remove(
    Uri uriPrefix,
    string authType
)

Parameters

  • uriPrefix
    Type: System..::.Uri
    A Uri that specifies the URI prefix of the resources that the credential is used for.
  • authType
    Type: System..::.String
    The authentication scheme used by the host named in uriPrefix.

Version Information

Windows Phone OS

Supported in: 8.1

See Also

Reference

CredentialCache Class

Remove Overload

System.Net Namespace