Click or drag to resize
ClientConfiguration Properties

The ClientConfiguration type exposes the following members.

Properties
  NameDescription
Public propertyConnectionTimeout
Connection timeout in milliseconds
Public propertyDirectWriteStreamThreshold
Gets or sets the direct write stream threshold. The theshold is the file size threshold that when the uploading file size is more than this value, the HttpWebRequest will not use write buffer to save the memory.
Public propertyEnableCrcCheck
Gets or sets a value indicating whether this ClientConfiguration enable crc check. When EnalbeMD5Check is set true, MD5 will be checked and CRC check will be skipped whenever MD5 is applicable.
Public propertyEnalbeMD5Check
Flag of enabling MD5 checksum. When EnalbeMD5Check is set true, MD5 will be checked and CRC check will be skipped whenever MD5 is applicable.
Public propertyIsCname
If the endpoint is the CName. If it's CName, ListBuckets is not supported.
Public propertyMaxErrorRetry
Max error retry count
Public propertyMaxPartCachingSize
Gets or sets the size of the max part caching size In multipart upload (resumable upload), if the part size is no bigger than MaxPartCachingSize, it will cache the whole part data before sending the data out.
Public propertyPreReadBufferCount
Gets or sets the pre read buffer count in resumable upload. The max value could be the same size of MaxResumableUploadThreads;
Public propertyProgressUpdateInterval
The progress update interval in terms of data upload/download's delta in bytes. By default it's 4096 bytes.
Public propertyProtocol
Protocols used to access OSS (HTTP or HTTPS)
Public propertyProxyDomain
The proxy user name's domain for authentication
Public propertyProxyHost
Proxy host
Public propertyProxyPassword
Proxy user password
Public propertyProxyPort
Proxy port
Public propertyProxyUserName
Proxy user name
Public propertyTickOffset
Gets the difference between customized epoch time and local time, in seconds
Public propertyUserAgent
User-Agent in requests to OSS
Public propertyUseSingleThreadReadInResumableUpload
When uploading a file with resumable upload, the default behavior is to read the source file in multiple-threading. But in old HDD, single thread read may be faster. And when the read speed is the bottleneck, try to change this parameter to compare the result.
Top
See Also