## ICredentials::GetCredential method


RTTI 信息。

```cpp
virtual System::SharedPtr<NetworkCredential> System::Net::ICredentials::GetCredential(System::SharedPtr<Uri> uri, String authType)=0
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | 客户端提供身份验证类型的 URI。 |
| authType | 字符串 | 身份验证类型。 |
## 备注


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

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