Metodo System::Net::CredentialCache::GetCredential

CredentialCache::GetCredential(String, int32_t, String) method

Restituisce le credenziali per il nome host specificato, la porta e il tipo di autenticazione.

System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(String host, int32_t port, String authenticationType) override
ParametroTipoDescrizione
hostStringaIl nome host a cui sono associate le credenziali.
portaint32_tIl numero di porta.
authenticationTypeStringaIl tipo di autenticazione.

Vedi anche

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

Restituisce le credenziali per il prefisso URI specificato e il tipo di autenticazione.

System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(System::SharedPtr<Uri> uriPrefix, String authenticationType) override
ParametroTipoDescrizione
uriPrefixSystem::SharedPtr<Uri>Il prefisso URI.
authenticationTypeStringaUn tipo di autenticazione.

Vedi anche