Share via


DownloadOptions Class

Definition

Represents a set of options that may be specified for download operation

public sealed class DownloadOptions
type DownloadOptions = class
Public NotInheritable Class DownloadOptions
Inheritance
DownloadOptions

Constructors

DownloadOptions()

Properties

DisableContentMD5Validation

Gets or sets a flag that indicates whether to validate content MD5 or not when reading data from the source object. If set to true, source object content MD5 will be validated; otherwise, source object content MD5 will not be validated. If not specified, it defaults to false.

PreserveSMBAttributes

Gets or sets a flag that indicates whether to preserve SMB attributes during downloading. If set to true, destination Azure File's attributes will be set as source local file's attributes. SMB attributes includes last write time, creation time and CloudFileNtfsAttributes. CloudFileNtfsAttributes will be converted to FileAttributes , and then set to destination local file. This flag only takes effect when uploading from local file to Azure File Service. Preserving SMB attributes is only supported on Windows.

PreserveSMBPermissions

Gets or sets a value that indicates whether to preserve SMB permissions during downloading. Preserving SMB permissions is only supported on Windows.

SourceAccessCondition

Gets or sets an AccessCondition object that represents the access conditions for the source object. If null, no condition is used.

Applies to