System::Net::CredentialCache::GetCredential metodo

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
hostStringIl nome host a cui sono associate le credenziali.
portaint32_tIl numero di porta.
authenticationTypeStringIl 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.
authenticationTypeStringUn tipo di autenticazione.

Vedi anche