IItemContentAsyncGetReadStreamAsync Method (Int64, Int64)
IT Hit WebDAV Classes Reference
Loads part of the content of the file from WebDAV server.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax Task<Stream> GetReadStreamAsync(
long startIndex,
long count
)
Function GetReadStreamAsync (
startIndex As Long,
count As Long
) As Task(Of Stream)
Task<Stream^>^ GetReadStreamAsync(
long long startIndex,
long long count
)
abstract GetReadStreamAsync :
startIndex : int64 *
count : int64 -> Task<Stream>
Parameters
- startIndex
- Type: SystemInt64
Start position to retrieve count number of bytes from. - count
- Type: SystemInt64
Number of bytes to retrieve.
Return Value
Type:
TaskStreamStream to read resource content.
Exceptions Remarks
If server supports
If-Range header and last modification time do not match
(the file content was modified) the library will throw
FileContentModifiedException exception.
See Also