SocketsHttpHandler.PreAuthenticate 屬性

定義

取得或設定值,這個值指出處理常式是否隨著要求傳送授權標頭。

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 如果處理常式傳送具有要求的 Authorization 標頭,則為 ;否則為 false

適用於