## ICredentialsByHost::GetCredential method


RTTI 信息。

```cpp
virtual System::SharedPtr<NetworkCredential> System::Net::ICredentialsByHost::GetCredential(String host, int32_t port, String authenticationType)=0
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| host | 字符串 | 对客户端进行身份验证的主机。 |
| port | int32_t | 主机端口号。 |
| authenticationType | 字符串 | 身份验证类型。 |
## 备注


返回指定主机和身份验证类型的凭据。
## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NetworkCredential](../../networkcredential/)
* Class [String](../../../system/string/)
* Class [ICredentialsByHost](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
