VintaSoft Twain .NET SDK 15.2: Documentation for .NET developer
Vintasoft.WinTwain.ImageUploading.Http Namespace / HttpUpload Class / AllowAutoRedirect Property
Syntax Remarks Requirements SeeAlso
    AllowAutoRedirect Property (HttpUpload)
    Gets or sets a value that indicates whether the request should follow redirection responses.
    Syntax
    'Declaration
    
    Public Property AllowAutoRedirect As Boolean
    
    
     

    Property Value

    true if the request should automatically follow redirection responses from the Internet resource; otherwise false. Default value is true.
    Remarks

    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.

    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also