Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.AllowAutoRedirect Property |
Gets or sets a bool value that indicates whether the current request will follow redirection responses. [Edit]
|
true if the current request will automatically follow redirection responses from the Internet resource; otherwise false . The default value is true. [Edit]
Note:[Edit]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