## NetworkCredential::GetCredential(String, int32_t, String) method


指定されたホスト名、ポート、および認証タイプの資格情報を返します。

```cpp
System::SharedPtr<NetworkCredential> System::Net::NetworkCredential::GetCredential(String host, int32_t port, String authenticationType) override
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| host | String | ホスト名です。 |
| ポート | int32_t | ポート番号です。 |
| authenticationType | String | 認証タイプ。 |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NetworkCredential](../)
* Class [String](../../../system/string/)
* Class [NetworkCredential](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## NetworkCredential::GetCredential(System::SharedPtr\<Uri\>, String) method


指定された URI と認証タイプの資格情報を返します。

```cpp
System::SharedPtr<NetworkCredential> System::Net::NetworkCredential::GetCredential(System::SharedPtr<Uri> uri, String authenticationType) override
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | URIです。 |
| authenticationType | String | 認証タイプ。 |

## 参照

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