طريقة System::Net::CredentialCache::Add

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

يضيف الاعتمادات الشبكية المحددة إلى الذاكرة المؤقتة.

void System::Net::CredentialCache::Add(String host, int32_t port, String authenticationType, System::SharedPtr<NetworkCredential> credential)
معاملنوعالوصف
hostStringاسم المضيف المرتبط ببيانات الاعتماد.
منفذint32_tرقم المنفذ.
authenticationTypeStringنظام المصادقة.
الاعتمادSystem::SharedPtr<NetworkCredential>بيانات الاعتماد للإضافة.

انظر أيضًا

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

يضيف الاعتمادات الشبكية المحددة إلى الذاكرة المؤقتة.

void System::Net::CredentialCache::Add(System::SharedPtr<Uri> uriPrefix, String authenticationType, System::SharedPtr<NetworkCredential> credential)
معاملنوعالوصف
uriPrefixSystem::SharedPtr<Uri>بادئة URI للموارد التي ترتبط بها بيانات الاعتماد.
authenticationTypeStringنظام المصادقة.
الاعتمادSystem::SharedPtr<NetworkCredential>بيانات الاعتماد للإضافة.

انظر أيضًا