System::Net::CredentialCache::GetCredential méthode

CredentialCache::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::CredentialCache::GetCredential(String host, int32_t port, String authenticationType) override
ParamètreTypeDescription
hôteStringLe nom d’hôte avec lequel les informations d’identification sont associées.
portint32_tLe numéro de port.
authenticationTypeStringLe type d’authentification.

Voir aussi

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

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

System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(System::SharedPtr<Uri> uriPrefix, String authenticationType) override
ParamètreTypeDescription
uriPrefixSystem::SharedPtr<Uri>Le préfixe URI.
authenticationTypeStringUn type d’authentification.

Voir aussi