PackWebRequest.PreAuthenticate Property


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

 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


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


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