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


Devuelve credenciales para el nombre de host, puerto y tipo de autenticación especificados.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| host | String | El nombre del host. |
| puerto | int32_t | El número de puerto. |
| authenticationType | String | El tipo de autenticación. |

## Ver también

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


Devuelve credenciales para la URI especificada y el tipo de autenticación.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | El URI. |
| authenticationType | String | El tipo de autenticación. |

## Ver también

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