طريقة 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
ParameterTypeالوصف
المضيفStringاسم المضيف المرتبط ببيانات الاعتماد.
portint32_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نوع المصادقة.

انظر أيضًا