set_Credentials()

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

Sets authentication information that is associated with the current request.

virtual void System::Net::WebRequest::set_Credentials(System::SharedPtr<ICredentials> value)

Arguments

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

See Also