System::Net::CredentialCache::Add method

CredentialCache::Add(String, int32_t, String, System::SharedPtr<NetworkCredential>) method

Προσθέτει τα καθορισμένα διαπιστευτήρια δικτύου στην cache.

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

Δείτε επίσης

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

Προσθέτει τα καθορισμένα διαπιστευτήρια δικτύου στην cache.

void System::Net::CredentialCache::Add(System::SharedPtr<Uri> uriPrefix, String authenticationType, System::SharedPtr<NetworkCredential> credential)
ParameterTypeΠεριγραφή
uriPrefixSystem::SharedPtr<Uri>Το πρόθεμα URI του πόρου με το οποίο σχετίζονται τα διαπιστευτήρια.
authenticationTypeStringΤο σχήμα πιστοποίησης.
credentialSystem::SharedPtr<NetworkCredential>Τα διαπιστευτήρια προς προσθήκη.

Δείτε επίσης