Partilhar via


SocketsHttpHandlerOptions.AllowAutoRedirect Property

Definition

Gets or sets a value indicating whether to automatically follow redirection responses.

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

Property Value

The default value is false.

Applies to