Table of Contents

Class ShareFileDownloadInfo

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

The properties and content returned from downloading a file

public class ShareFileDownloadInfo : IDisposable
Inheritance
ShareFileDownloadInfo
Implements
Inherited Members

Properties

Content

Content

public Stream Content { get; }

Property Value

Stream

ContentHash

If the file has an MD5 hash and this operation is to read the full content, this response header is returned so that the client can check for message content integrity.

public byte[] ContentHash { get; }

Property Value

byte[]

ContentLength

The number of bytes present in the response body.

public long ContentLength { get; }

Property Value

long

ContentType

The content type specified for the file. The default content type is 'application/octet-stream'

public string ContentType { get; }

Property Value

string

Details

Details returned when downloading a file

public ShareFileDownloadDetails Details { get; }

Property Value

ShareFileDownloadDetails

Methods

Dispose()

Disposes the StorageFileDownloadInfo by calling Dispose on the underlying Content stream.

public void Dispose()