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

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

يعيد بيانات الاعتماد لاسم المضيف المحدد، المنفذ، ونوع المصادقة.

System::SharedPtr<NetworkCredential> System::Net::CredentialCache::GetCredential(String host, int32_t port, String authenticationType) override
معاملنوعالوصف
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
معاملنوعالوصف
uriPrefixSystem::SharedPtr<Uri>بادئة URI.
authenticationTypeStringنوع مصادقة.

انظر أيضًا