ICredentialsByHost Interface


Provides the interface for retrieving credentials for a host, port, and authentication type.

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

Public Interface ICredentialsByHost

System_CAPS_pubmethodGetCredential(String, Int32, String)

Returns the credential for the specified host, port, and authentication protocol.

The credentials are used for authentication of requests sent to hosts using the WebClient class, and WebRequest and its derived classes.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.1
Windows Phone
Available since 8.1
Return to top