Class BlobDownloadInfo
The details and Content returned from downloading a blob
Inheritance
System.Object
BlobDownloadInfo
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Storage.Blobs.dll
Syntax
public class BlobDownloadInfo : IDisposable
Properties
BlobType
The blob's type.
Declaration
[System.ComponentModel.EditorBrowsable]
public Azure.Storage.Blobs.Models.BlobType BlobType { get; }
Property Value
|
BlobType
|
Content
Content
Declaration
public System.IO.Stream Content { get; }
Property Value
|
System.IO.Stream
|
ContentHash
If the blob has an MD5 hash and this operation is to read the full blob, this response header is returned so that the client can check for message content integrity.
Declaration
[System.ComponentModel.EditorBrowsable]
public byte[] ContentHash { get; }
Property Value
|
System.Byte[]
|
ContentLength
The number of bytes present in the response body.
Declaration
[System.ComponentModel.EditorBrowsable]
public long ContentLength { get; }
Property Value
|
System.Int64
|
ContentType
The media type of the body of the response. For Download Blob this is 'application/octet-stream'
Declaration
[System.ComponentModel.EditorBrowsable]
public string ContentType { get; }
Property Value
|
System.String
|
Details
Details returned when downloading a Blob
Declaration
public Azure.Storage.Blobs.Models.BlobDownloadDetails Details { get; }
Property Value
|
BlobDownloadDetails
|
Methods
Dispose()
Disposes the BlobDownloadInfo by calling Dispose on the underlying Content stream.
Declaration
public void Dispose ();