NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpWebRequest.AllowAutoRedirect

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);

Remarks

Set AllowAutoRedirect true to automatically follow HTTP redirection headers to the new location of the resource.

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace