Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebClientProtocol.UseDefaultCredentials Property

Gets or sets a value that indicates whether to set the Credentials property to the value of the CredentialCache.DefaultCredentials property.

Namespace:  System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public bool UseDefaultCredentials { get; set; }

Property Value

Type: System.Boolean
true if the Credentials property is set to the value of the CredentialCache.DefaultCredentials property; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft