Gets or sets a bool value that indicates whether the current request will follow redirection responses.
true if the current request will automatically follow redirection responses from the Internet resource; otherwise false . The default value is true.
Note:Set HttpWebRequest.AllowAutoRedirect to true to allow the current request to automatically follow HTTP redirection headers to the new location of a resource.
The maximum number of redirections to follow is set by the HttpWebRequest.MaximumAutomaticRedirections property.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0