Enables or disables automatically following redirection responses.
[Visual Basic] Public Property AllowAutoRedirect As Boolean [C#] public bool AllowAutoRedirect {get; set;} [C++] public: __property bool get_AllowAutoRedirect(); public: __property void set_AllowAutoRedirect(bool); [JScript] public function get AllowAutoRedirect() : Boolean; public function set AllowAutoRedirect(Boolean);
Set AllowAutoRedirect true to automatically follow HTTP redirection headers to the new location of the resource.
HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace