HttpClientHandler.UseDefaultCredentials Property

Gets or sets a value that controls whether default credentials are sent with requests by the handler.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

'Declaration
Public Property UseDefaultCredentials As Boolean 
	Get 
	Set
'Usage
Dim instance As HttpClientHandler 
Dim value As Boolean 

value = instance.UseDefaultCredentials

instance.UseDefaultCredentials = value

Property Value

Type: System.Boolean
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft