Class ShareFileDownloadInfo
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
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
ContentType
The content type specified for the file. The default content type is 'application/octet-stream'
public string ContentType { get; }
Property Value
Details
Details returned when downloading a file
public ShareFileDownloadDetails Details { get; }
Property Value
Methods
Dispose()
Disposes the StorageFileDownloadInfo by calling Dispose on the underlying Content stream.
public void Dispose()