PackWebRequest.PreAuthenticate Property

Definition

Gets or sets a value that indicates whether to preauthenticate the request.

public:
 virtual property bool PreAuthenticate { bool get(); void set(bool value); };
public override bool PreAuthenticate { get; set; }
member this.PreAuthenticate : bool with get, set
Public Overrides Property PreAuthenticate As Boolean

Property Value

Boolean

true to send a WWW-authenticate HTTP header with the initial request; otherwise, false.

Remarks

The PreAuthenticate property returns false for requests resolved from the PackageStore cache; there is no pre-authentication scheme for the pack URI protocol.

The PreAuthenticate property is shared with the inner WebRequest (GetInnerRequest).

Applies to