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

CredentialCache.Remove Method (String, Int32, 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 host, port, and authentication protocol.

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

public void Remove(
	string host,
	int port,
	string authenticationType
)

Parameters

host
Type: System.String
A String that identifies the host computer.
port
Type: System.Int32
A Int32 that specifies the port to connect to on host.
authenticationType
Type: System.String
A String that identifies the authentication scheme used when connecting to host.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft