<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.29.0-beta.1" />

Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions

Options for reading a file to a destination.

Request conditions for downloading.

public LayoutAwareRouting LayoutAwareRouting { get; set; }

Determines whether locality-aware routing is used for the parallel range requests issued by the read. When enabled, the file's layout is fetched on demand and cached (with automatic background refresh), and each range download is routed to the optimal endpoint for the chunk being read. This is a performance optimization only - the bytes returned are identical to a non-locality-aware download. Defaults to Auto, which currently disables locality-aware routing; set to Enabled to opt in.

public StorageTransferOptions TransferOptions { get; set; }

Transfer options for managing individual read requests.

public DownloadTransferValidationOptions TransferValidation { get; set; }

Optional override settings for this client's TransferValidation settings.