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

Public Property AllowAutoRedirect As Boolean

public bool AllowAutoRedirect { get; set; }

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 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also