HttpClientHandler.MaxAutomaticRedirections Property

Gets or sets the maximum number of redirects that the handler follows.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public int MaxAutomaticRedirections { get; set; }

Property Value

Type: System.Int32
Show: