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


Renvoie les informations d'identification pour le nom d'hôte, le port et le type d'authentification spécifiés.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| hôte | String | Le nom d'hôte. |
| port | int32_t | Le numéro de port. |
| authenticationType | String | Le type d’authentification. |

## Voir aussi

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


Renvoie les informations d'identification pour l'URI spécifié et le type d'authentification.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | L'URI. |
| authenticationType | String | Le type d’authentification. |

## Voir aussi

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