CredentialCache.GetCredential Method
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Returns a NetworkCredential instance associated with a specified Uniform Resource Identifier (URI) or host, and authentication type.
Assembly: System (in System.dll)
Name | Description | |
---|---|---|
![]() | GetCredential(String, Int32, String) | Returns the NetworkCredential instance associated with the specified host, port, and authentication protocol. |
![]() | GetCredential(Uri, String) | Returns the NetworkCredential instance associated with the specified Uniform Resource Identifier (URI) and authentication type. |
Show: