Remove Method (Uri, String)
Collapse the table of content
Expand the table of content

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)

'Declaration
Public Sub Remove ( _
	uriPrefix As Uri, _
	authType As String _
)

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.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft