TechNet
Export (0) Print
Expand All

ICredentials Interface

 

Provides the base authentication interface for retrieving credentials for Web client authentication.

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

type ICredentials = interface end

NameDescription
System_CAPS_pubmethodGetCredential(Uri, String)

Returns a NetworkCredential object that is associated with the specified URI, and authentication type.

The ICredentials interface provides the GetCredential method to objects that supply network credentials to applications.

The following example illustrates how to use the ICredentials interface.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft