CredentialCache.GetCredential Method
.NET Framework 2.0
Returns a NetworkCredential instance associated with a specified Uniform Resource Identifier (URI) or host, and authentication type.
| Name | Description |
|---|---|
| CredentialCache.GetCredential (Uri, String) | Returns the NetworkCredential instance associated with the specified Uniform Resource Identifier (URI) and authentication type. Supported by the .NET Compact Framework. |
| CredentialCache.GetCredential (String, Int32, String) | Returns the NetworkCredential instance associated with the specified host, port, and authentication protocol. |