GetCredential()

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

Returns credentials for the specified host and authentication type.

virtual System::SharedPtr<NetworkCredential> System::Net::ICredentialsByHost::GetCredential(String host, int32_t port, String authenticationType)=0

Arguments

ParameterTypeDescription
hostStringThe host that authenticates the client.
portint32_tThe host port number.
authenticationTypeStringThe authentication type.

See Also