GetCredential()
CredentialCache::GetCredential(System::SharedPtr<Uri>, String) method
Returns credentials for the specified URI prefix and authentication type.
System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(System::SharedPtr<Uri> uriPrefix, String authenticationType) override
Arguments
Parameter | Type | Description |
---|---|---|
uriPrefix | System::SharedPtr<Uri> | The URI prefix. |
authenticationType | String | An authentication type. |
CredentialCache::GetCredential(String, int32_t, String) method
Returns credentials for the specified host name, port, and authentication type.
System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(String host, int32_t port, String authenticationType) override
Arguments
Parameter | Type | Description |
---|---|---|
host | String | The host name with which the credentials are associated. |
port | int32_t | The port number. |
authenticationType | String | The authentication type. |
See Also
- Typedef SharedPtr
- Class NetworkCredential
- Class Uri
- Class String
- Class CredentialCache
- Namespace System::Net
- Library Aspose.Slides