System::Net::NetworkCredential::GetCredential méthode

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.

System::SharedPtr<NetworkCredential> System::Net::NetworkCredential::GetCredential(String host, int32_t port, String authenticationType) override
ParamètreTypeDescription
hôteStringLe nom d’hôte.
portint32_tLe numéro de port.
authenticationTypeStringLe type d’authentification.

Voir aussi

NetworkCredential::GetCredential(System::SharedPtr<Uri>, String) method

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

System::SharedPtr<NetworkCredential> System::Net::NetworkCredential::GetCredential(System::SharedPtr<Uri> uri, String authenticationType) override
ParamètreTypeDescription
uriSystem::SharedPtr<Uri>L’URI.
authenticationTypeStringLe type d’authentification.

Voir aussi