IEwsHttpWebRequest.UseDefaultCredentials property

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

The UseDefaultCredentials property is applicable for clients that target Exchange Online and versions of Exchange starting with Microsoft Exchange Server 2007.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

bool UseDefaultCredentials { get; set; }

Property value

Type: System.Boolean
true if the default credentials are used; otherwise false. The default is false.