IItemContentGetReadStream 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 Stream GetReadStream(
long startIndex,
long count
)
Function GetReadStream (
startIndex As Long,
count As Long
) As Stream
Stream^ GetReadStream(
long long startIndex,
long long count
)
abstract GetReadStream :
startIndex : int64 *
count : int64 -> 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:
StreamStream 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