set_Credentials()

HttpWebRequest::set_Credentials(System::SharedPtr<ICredentials>) method

Sets authentication information that is associated with the current request.

void System::Net::HttpWebRequest::set_Credentials(System::SharedPtr<ICredentials> value) override

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<ICredentials>Authentication information to set.

See Also