Click or drag to resize
UploadSetting Class

» Asprise Scan Home · Developer's Guide

Upload settings - url is the only mandatory parameter.
Inheritance Hierarchy
SystemObject
  asprise_imaging_apiUploadSetting

Namespace: asprise_imaging_api
Assembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class UploadSetting : ICloneable

The UploadSetting type exposes the following members.

Constructors
  NameDescription
Public methodUploadSetting
Initializes a new instance of the UploadSetting class
Public methodUploadSetting(String)
Initializes a new instance of the UploadSetting class
Top
Methods
  NameDescription
Public methodAddHeaders
e.g., "Referer: http://asprise.com"
Public methodAddPostField
Any additional post fields.
Public methodAddPostFiles
Additional files to be posted along.
Public methodClone
Deep clones.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberfromJsonMap
Deserialize from JSON.
Public methodGetAuth
Authentication, e.g., "user:pass"
Public methodGetCookies
e.g., "name=Asprise; domain=asprise.com"
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHeaders
e.g., "Referer: http://asprise.com"
Public methodGetLogToFile
Log file to record HTTP operations.
Public methodGetMaxOperationTime
Max HTTP operation time in seconds; default: 1200 (20 mins).
Public methodGetMaxRetries
Max number of retries. Default is 2.
Public methodGetPostFields
Any additional post fields.
Public methodGetPostFileFieldName
Field name for files.
Public methodGetPostFiles
Additional files to be posted along
Public methodGetSaveResponseToFile
Saves response to the given file instead of returning response.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUrl
Target URL
Public methodSetAuth
Authentication, e.g., "user:pass".
Public methodSetCookies
e.g., "name=Asprise; domain=asprise.com"
Public methodSetLogToFile
Log file to record HTTP operations.
Public methodSetMaxOperationTime
Max HTTP operation time in seconds; default: 1200 (20 mins).
Public methodSetMaxRetries
Max number of retries. Default is 2.
Public methodSetPostFileFieldName
Field name for files.
Public methodSetSaveResponseToFile
Saves response to the given file instead of returning response.
Public methodSetUrl
Target URL
Public methodtoJsonObject
Serializes to JSON.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDEFAULT_MAX_OPERATION_TIME
Default max operation time allowed in seconds.
Public fieldStatic memberDEFAULT_MAX_RETRIES
Default max number of retries.
Public fieldStatic memberDEFAULT_POST_FILE_FIELD_NAME
Default POST name for uploaded files
Top
See Also