IEwsHttpWebRequest.PreAuthenticate property

Gets or sets a value that indicates whether to send an authenticate header with the request.

The PreAuthenticate 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)

Syntax

'Declaration
Property PreAuthenticate As Boolean
    Get
    Set
'Usage
Dim instance As IEwsHttpWebRequest
Dim value As Boolean

value = instance.PreAuthenticate

instance.PreAuthenticate = value
bool PreAuthenticate { get; set; }

Property value

Type: System.Boolean
true to send a WWW-authenticate HTTP header with requests after authentication has taken place; otherwise, false. The default is false.

See also

Reference

IEwsHttpWebRequest interface

IEwsHttpWebRequest members

Microsoft.Exchange.WebServices.Data namespace