System::Net::CredentialCache::Add method
Contents
[
Hide
]CredentialCache::Add(System::SharedPtr<Uri>, String, System::SharedPtr<NetworkCredential>) method
Adds the specified network credentials to the cache.
void System::Net::CredentialCache::Add(System::SharedPtr<Uri> uriPrefix, String authenticationType, System::SharedPtr<NetworkCredential> credential)
Parameter | Type | Description |
---|---|---|
uriPrefix | System::SharedPtr<Uri> | The resource’s URI prefix with which the credentials are associated. |
authenticationType | String | The authentication scheme. |
credential | System::SharedPtr<NetworkCredential> | The credentials to add. |
See Also
- Typedef SharedPtr
- Class Uri
- Class String
- Class NetworkCredential
- Class CredentialCache
- Namespace System::Net
- Library Aspose.PUB for C++
CredentialCache::Add(String, int32_t, String, System::SharedPtr<NetworkCredential>) method
Adds the specified network credentials to the cache.
void System::Net::CredentialCache::Add(String host, int32_t port, String authenticationType, System::SharedPtr<NetworkCredential> credential)
Parameter | Type | Description |
---|---|---|
host | String | The host name with which the credentials are associated. |
port | int32_t | The port number. |
authenticationType | String | The authentication scheme. |
credential | System::SharedPtr<NetworkCredential> | The credentials to add. |
See Also
- Class String
- Typedef SharedPtr
- Class NetworkCredential
- Class CredentialCache
- Namespace System::Net
- Library Aspose.PUB for C++