set_UseDefaultCredentials()

WebRequest::set_UseDefaultCredentials(bool) method

Sets a value that indicates if the ‘Credential’ property is equal to the ‘DefaultCredentials’ property.

virtual void System::Net::WebRequest::set_UseDefaultCredentials(bool value)

Arguments

ParameterTypeDescription
valueboolA value to set.

See Also