VintaSoft Twain .NET SDK v10.3
Vintasoft.WpfTwain.ImageUploading.Http Namespace / HttpUpload Class / AllowAutoRedirect Property

In This Topic
    AllowAutoRedirect Property (HttpUpload)
    In This Topic
    Gets or sets a value that indicates whether the request should follow redirection responses.
    Public Property AllowAutoRedirect As Boolean
    Dim instance As HttpUpload
    Dim value As Boolean
    instance.AllowAutoRedirect = value
    value = instance.AllowAutoRedirect
    public bool AllowAutoRedirect {get; set;}
    public: __property bool get_AllowAutoRedirect();
    public: __property void set_AllowAutoRedirect( 
       bool value
    property bool AllowAutoRedirect {
       bool get();
       void set (    bool value);

    Property Value

    true if the request should automatically follow redirection responses from the Internet resource; otherwise false. Default value is true.
    Set AllowAutoRedirect to true if you want redirect the request automatically to the new location of the resource. The maximum number of redirections can be set with the MaximumAutomaticRedirections property.

    If AllowAutoRedirect is set to false all responses with an HTTP status code from 300 to 399 will be returned to the application.

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2016, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also