SocketsHttpHandler.PreAuthenticate SocketsHttpHandler.PreAuthenticate SocketsHttpHandler.PreAuthenticate SocketsHttpHandler.PreAuthenticate Property

定義

取得或設定值,這個值指出處理常式是否隨著要求傳送授權標頭。Gets or sets a value that indicates whether the handler sends an Authorization header with the request.

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

屬性值

true如果處理常式與要求一起傳送授權標頭, 則為,否則為falsetrue if the handler sends an Authorization header with the request; otherwise, false.

適用於