System::Net::CredentialCache::GetCredential method

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

Επιστρέφει διαπιστευτήρια για το καθορισμένο όνομα κεντρικού υπολογιστή, θύρα και τύπο ελέγχου ταυτότητας.

System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(String host, int32_t port, String authenticationType) override
ParameterTypeΠεριγραφή
hostStringΤο όνομα κεντρικού υπολογιστή με το οποίο σχετίζονται τα διαπιστευτήρια.
θύραint32_tΟ αριθμός θύρας.
authenticationTypeStringΟ τύπος ελέγχου ταυτότητας.

Δείτε επίσης

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

Επιστρέφει διαπιστευτήρια για το καθορισμένο πρόθεμα URI και τον τύπο πιστοποίησης.

System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(System::SharedPtr<Uri> uriPrefix, String authenticationType) override
ParameterTypeΠεριγραφή
uriPrefixSystem::SharedPtr<Uri>Το πρόθεμα URI.
authenticationTypeStringΈνας τύπος πιστοποίησης.

Δείτε επίσης